Re: SumType! seemingly results in cryptic error, with dub suggesting to make an issue ticket

2023-05-30 Thread Gimbles via Digitalmars-d-learn
On Tuesday, 30 May 2023 at 08:54:33 UTC, Gimbles wrote: On Tuesday, 30 May 2023 at 08:47:16 UTC, user456 wrote: On Tuesday, 30 May 2023 at 08:42:38 UTC, Gimbles wrote: My code is this [...] Should I make an issue for this as it suggests? 100% yes. This an "Internal Compiler Error" (ICE), mean

Re: SumType! seemingly results in cryptic error, with dub suggesting to make an issue ticket

2023-05-30 Thread Gimbles via Digitalmars-d-learn
On Tuesday, 30 May 2023 at 08:47:16 UTC, user456 wrote: On Tuesday, 30 May 2023 at 08:42:38 UTC, Gimbles wrote: My code is this [...] Should I make an issue for this as it suggests? 100% yes. This an "Internal Compiler Error" (ICE), meaning the compiler has crashed. Open a ticket here : http

Re: SumType! seemingly results in cryptic error, with dub suggesting to make an issue ticket

2023-05-30 Thread Gimbles via Digitalmars-d-learn
On Tuesday, 30 May 2023 at 08:42:38 UTC, Gimbles wrote: My code is this ```d struct ConstValueIndex { ushort const_value_index; } [...] https://gist.github.com/run-dlang/5dd783c750f04329405af1b1e4a83cde Here's the full source

SumType! seemingly results in cryptic error, with dub suggesting to make an issue ticket

2023-05-30 Thread Gimbles via Digitalmars-d-learn
My code is this ```d struct ConstValueIndex { ushort const_value_index; } struct EnumConstValue { ushort type_name_index; ushort const_name_index; } struct ClassInfoIndex { ushort class_info_index; } struct AnnotationValue { Annotation annotation_value; } struct ArrayValue