Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Error: unhandled exception: sym is not accessible [FieldError] #10058
Nim 0.19.0, the snippet below causes a compiler SIGSEGV about 50% of the time when compiled.
I wasn't able to reduce much further without changing the compiler behaviour.
Interestingly enough, running under strace, moving the file to another directory or adding different compiler flags completely changes the behaviour (often for the good, resulting in a good compile)
Compiling with a debug compiler: