December 13, 2023 [Issue 24281] New: Segfault with missing field after named argument | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24281 Issue ID: 24281 Summary: Segfault with missing field after named argument Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: critical Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: nick@geany.org struct S { int y, z = 3; } void main() { S s3 = S(z: 2, 3); } Should produce e.g. Error: no field beyond `z`. -- |
Copyright © 1999-2021 by the D Language Foundation