The following code crashes the compiler with no stack trace. I don't understand exactly how and when generics get instantiated, but it does seem like I should be able to this. I am also posting a bug at the compiler repo.
..code-block:: nimrod
echo(TFix[int] is TFix[float])
Crashes with no stack strace are most often caused by an infinite recursion. GDB can handle that, compile with --debuginfo --lineDir:on to enable GDB support. The compiler could also emit code so these are caught in debug mode.
Btw what happened to your lockfree hash table? It would be a really sweet addition to the stdlib.
Shoot, I forgot to try GDB.
I just got sidetracked on the table project. I'm going to come back around and finish it up soon.
Sure enough, here's what gdb found:
Program received signal SIGSEGV, Segmentation fault.
754 var c = initSameTypeClosure()