digitalmars.D.bugs - [Issue 23366] New: compiler crash on assert(0) with bottom value as
- d-bugmail puremagic.com (21/21) Sep 24 2022 https://issues.dlang.org/show_bug.cgi?id=23366
https://issues.dlang.org/show_bug.cgi?id=23366 Issue ID: 23366 Summary: compiler crash on assert(0) with bottom value as message Product: D Version: D2 Hardware: Other OS: Other Status: NEW Severity: critical Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: Ajieskola gmail.com Compiled with a recent master DMD version, flags -preview=dip1000 ----------------------------- safe void main(){assert(0, assert(0));} ----------------------------- Trying to compile the above program crashes the compiler. This program should compile, but crash at runtime. --
Sep 24 2022