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: [email protected]
Reporter: [email protected]
struct S { int y, z = 3; }
void main()
{
S s3 = S(z: 2, 3);
}
Should produce e.g. Error: no field beyond `z`.
--
