A couple of days into porting my database to Nim, the project stops compiling:
Error: internal error: GetUniqueType
Traceback (most recent call last)
nim.nim(91) nim
nim.nim(55) handleCmdLine
main.nim(278) mainCommand
main.nim(73) commandCompileToC
modules.nim(204) compileProject
modules.nim(152) compileModule
passes.nim(193) processModule
passes.nim(137) processTopLevelStmt
cgen.nim(1327) myProcess
ccgstmts.nim(1055) genStmts
ccgexprs.nim(2036) expr
ccgstmts.nim(1055) genStmts
ccgexprs.nim(2055) expr
ccgstmts.nim(227) genVarStmt
ccgstmts.nim(191) genSingleVar
cgen.nim(523) assignGlobalVar
cgen.nim(64) fillLoc
ccgutils.nim(91) getUniqueType
msgs.nim(855) internalError
msgs.nim(785) rawMessage
msgs.nim(782) rawMessage
msgs.nim(735) handleError
Is there a bug database or any form of non-commercial support? Where do I post my example (<100 LOC in several files)? I am myself a developer capable of implementing languages. Studying Nim's internal structures can take months, but I am willing to invest a week if it helps the project.There is always the IRC channel and this forum and the mailing list for non-commercial support, as well as the bug tracker here: https://github.com/Araq/Nim/issues
You don't have to fix it on your own, just report it properly and tell me it's "blocking" and it'll get fixed as fast as possible. That said, this error message is usually just a very unfriendly way of saying "you wrote 'var x = int' intead of 'var x: int'".