February 13, 2018 [Issue 18429] New: alias this enum causes segmentation fault | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18429 Issue ID: 18429 Summary: alias this enum causes segmentation fault Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: acehreli@yahoo.com struct S { alias a this; enum a = 1; } $ dmd deneme.d -c Segmentation fault Interestingly, when the lines inside struct S are swapped then it compiles fine. Ali -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply