Re: What do you do when the compiler crashes?

2019-12-14 Thread spip
> What I do is to compile using `--verbosity:3` In that particular case, it did no difference, even with the debug compiler...

Re: What do you do when the compiler crashes?

2019-12-13 Thread Arrrrrrrrr
What I do is to compile using --verbosity:3 [https://nim-lang.org/docs/nimc.html#compiler-usage-verbosity-levels](https://nim-lang.org/docs/nimc.html#compiler-usage-verbosity-levels)

Re: What do you do when the compiler crashes?

2019-12-11 Thread spip
For others encountering a similar situation, when commenting out portions of code does not help or running a nim compiler with debugging symbols does not help either, here is what I've done. 1. Searching in [Nim issues](https://github.com/nim-lang/Nim/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Ao

Re: What do you do when the compiler crashes?

2019-12-10 Thread spip
I just saw that the code in the playground is not the last version of the source that is on another PC that I can't access presently, where there are syntax errors like at line 91 # The set of constraints which are currently unsatisfied. unsatisfied = HashSet[T].toHashSet(keys

What do you do when the compiler crashes?

2019-12-10 Thread spip
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' [Fie