[Issue 20580] -preview=dip1021 compiler crash

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 2 18:34:37 UTC 2020


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

moonlightsentinel at disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |moonlightsentinel at disroot.o
                   |                            |rg
         Resolution|---                         |FIXED

--- Comment #2 from moonlightsentinel at disroot.org ---
Doesn't segfault with current master:

.\generated\windows\release\64\dmd.exe -c -o- -preview=dip1021 .\test.d
.\test.d(21): Error: more initializers than fields (1) of UserCollected
.\test.d(25): Error: template instance test.SLL!(PtrTempl!(NodeImpl)) error
instantiating

--


More information about the Digitalmars-d-bugs mailing list