[Issue 23310] Segfault on switch with global enum

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 29 20:22:29 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23310

Dennis <dkorpel at live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|regression                  |normal

--- Comment #6 from Dennis <dkorpel at live.nl> ---
(In reply to ryuukk_ from comment #5)
> I don't know, i'm not knowledgeable enough on the matter

Can you test if it still segfaults when you make it `__gshared Test test =
Test.A;`? Otherwise I'll look into it on Windows later.

> Hence the need of a proper error message

Using a custom druntime is quite an advanced use case. This particular segfault
could be fixed, but in general, don't expect the quality of error messages to
be very good under these circumstances.

--


More information about the Digitalmars-d-bugs mailing list