digitalmars.D.bugs - [Issue 16406] New: Compiler segfaults on __traits(getprotection,
- via Digitalmars-d-bugs (33/33) Aug 20 2016 https://issues.dlang.org/show_bug.cgi?id=16406
https://issues.dlang.org/show_bug.cgi?id=16406 Issue ID: 16406 Summary: Compiler segfaults on __traits(getprotection, symbol) Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: alexandru.ermicioi gmail.com Given code: class Parent { public { void foo() { } } } class Child { public { alias foo = Parent.foo; void foo(int integer) { } } } unittest { auto str = __traits(getProtection, Child.foo); } The compiler will segfault, due to import of foo overload set from Parent class into Child class. --
Aug 20 2016