SIGSEGV while compiling when trying to instantiate a case type, that uses an enum with non-zero start #11585
The compiler produces a SIGSEGV when trying to compile a file that has a case type, that switches on an enum that does not have a 0 start value
type FooKind = enum fkBar = 1 # if this would be 0, the SIGSEGV would not occur Foo = object case kind*: FooKind of fkBar: bar*: int Foo(hello: 0)
This is 2019-06-25-devel-0d50b0c nightly build.
To possibly save someone some time: