digitalmars.D.bugs - [Issue 22857] New: Segfault for malformed static if in imported
- d-bugmail puremagic.com (26/26) Mar 07 2022 https://issues.dlang.org/show_bug.cgi?id=22857
https://issues.dlang.org/show_bug.cgi?id=22857 Issue ID: 22857 Summary: Segfault for malformed static if in imported template Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: moonlightsentinel disroot.org The following code segfaults when compiled as dmd -c -o- test.d --- test.d void isPrettyPropertyName() { import functional; unaryFun!(); } --- functional.d template unaryFun() { static if } --
Mar 07 2022