[Issue 20520] Runtime segfault when taking typeid of a class instanciated within an enum

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 26 20:01:19 UTC 2022


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
GDC and LDC compile and run the test case just fine.  It looks like DMD is not
generating an initializer for the manifest constant referenced by `typeid()`.

Tagging as backend issue.

--


More information about the Digitalmars-d-bugs mailing list