[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 Jan 20 17:00:19 UTC 2020


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

moonlightsentinel at disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel at disroot.o
                   |                            |rg
           Hardware|x86_64                      |All
                 OS|Linux                       |All
           Severity|normal                      |regression

--- Comment #1 from moonlightsentinel at disroot.org ---
Tested with run.dlang.org:

2.064   to 2.068.2: Success and no output
2.069.2 to 2.070.2: Status -6 with output:
-----
dmd: tocsym.c:246: virtual void
toSymbol(Dsymbol*)::ToSymbol::visit(VarDeclaration*): Assertion `0' failed.
linkage = 0
-----

           2.071.2: Failure with output: --- killed by signal 11
Since      2.072.2: Failure with output: Error: program killed by signal 11


This used to work before https://github.com/dlang/dmd/pull/5161 (found using
Digger)

--


More information about the Digitalmars-d-bugs mailing list