May 01, 2023 [Issue 23873] New: [ICE] segfault on imported `static if ; else auto x` | ||||
---|---|---|---|---|
| ||||
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. -- |
Copyright © 1999-2021 by the D Language Foundation