high(uint)
invalid? The error reported here is
invalid argument for 'high'
Or did I get something wrong?
newTableuint,string
produces all sort of noise:
lib/pure/collections/tables.nim(434, 27) template/generic instantiation from here lib/pure/collections/tables.nim(319, 39) template/generic instantiation from here lib/pure/collections/tableimpl.nim(98, 21) template/generic instantiation from here lib/pure/collections/tableimpl.nim(53, 14) template/generic instantiation from here lib/pure/collections/tableimpl.nim(43, 12) Error: type mismatch: got (uint)
while newTableint,string works fine.
As for the limitation, the systems lib does not say anything about limitations on high() and as far as I remember it worked last week or so.
Anyway, is there a way to use tables with unsigned data types or do I need to map it to signed ones?
I definitely does not work at the moment. Would you want me to file a bug report?
It is actually not a big problem as I can always map the uint64 to int for the hash tables. The seq[] sorting seems to work so it is ok for me.
Would you want me to file a bug report?
Yes please.