Here's my code (I'm using Nim v1.2.0):
var test_table = initTable[int, string]()
When I compile I get a confusing error message that doesn't even refer to the line of code above:
Error: internal error: genTypeInfo(tyNone)
No stack traceback available
To create a stacktrace, rerun compilation with ./koch temp c <file>
However when I remove this line there are no errors. Is my code wrong or is this a bug in the Nim compiler?