digitalmars.D.bugs - [Issue 23873] New: [ICE] segfault on imported `static if ; else auto
- d-bugmail puremagic.com (28/28) May 01 2023 https://issues.dlang.org/show_bug.cgi?id=23873
https://issues.dlang.org/show_bug.cgi?id=23873 Issue ID: 23873 Summary: [ICE] segfault on imported `static if ; else auto x` Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: d.bugs webfreak.org foo.d ``` struct Foo { import bar; } ``` bar.d ``` static if ; else auto x ``` interesting note: if `Foo` is a function and not an aggregate type, this doesn't ICE. --
May 01 2023