[Issue 20996] New: -preview=dip1021 ICE given one liner throw program

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 30 15:22:44 UTC 2020


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

          Issue ID: 20996
           Summary: -preview=dip1021 ICE given one liner throw program
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Other
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: bcarneal11 at gmail.com

void main() { import std.exception; throw new Exception(""); }

With -preview=dip1021 on the command line, the above elicits an ICE (seg
fault).

If this is fixed 20994 will likely be fixed as well.

--


More information about the Digitalmars-d-bugs mailing list