digitalmars.D.bugs - [Issue 20994] New: -preview=dip1008 ok, adding -preview=dip1021
- d-bugmail puremagic.com (23/23) Jun 29 2020 https://issues.dlang.org/show_bug.cgi?id=20994
https://issues.dlang.org/show_bug.cgi?id=20994 Issue ID: 20994 Summary: -preview=dip1008 ok, adding -preview=dip1021 crashes compiler Product: D Version: D2 Hardware: x86_64 OS: Other Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: bcarneal11 gmail.com import std.exception; void main() nogc { throw new Exception("throws fine when 1021 is not enabled"); } The above compiles and runs as expected with -preview=dip1008. It seg faults during compilation if you add -preview=dip1021 to the command line. Failure as described was seen for all relevant versions available via dlang.io through the latest, v2.092.1. --
Jun 29 2020