March 21, 2020 [Issue 20692] New: Nested alias declarations and getMember trait can crash dmd | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20692 Issue ID: 20692 Summary: Nested alias declarations and getMember trait can crash dmd Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: boris2.9@gmail.com Test case: struct S() { void fun() { gun(""); } void gun(T)(T) { alias buggy = bug; } } alias X = S!(); void main() { X().gun(0); } alias bug = __traits(getMember, X, "fun"); -- |
Copyright © 1999-2021 by the D Language Foundation