What can be done to find what makes the Nim compiler crash? I've been
translating a Python program to Nim and the compiler crashes with the error
fatal.nim(39) sysFatal
Error: unhandled exception: 'sym' is not accessible using discriminant
'kind' of type 'TNode' [FieldError]
Run
I've built a debugging version of nim and I get the same stack trace as
reported in this [issue](https://github.com/nim-lang/Nim/issues/12148). I've
tried to reduce the scope of the compilation to limited sections of the source
without being able to find where the problem lies, probably a syntax error like
in the issue but I can't spot it.
Here is the code
[https://play.nim-lang.org/#ix=246h](https://play.nim-lang.org/#ix=246h)
Any hint welcome.