www.digitalmars.com         C & C++   DMDScript  

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

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 puremagic.com
          Reporter: bcarneal11 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.

--
Jun 30