https://issues.dlang.org/show_bug.cgi?id=18469
Issue ID: 18469
Summary: [REG 2.079-b1] Segfault when trying to get type of
__dtor.opCall
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
this crash the compiler:
```
class Bar
{
~this(){}
this(){alias T = typeof(Bar.__dtor.opCall);}
}
void main() {}
```
instead of "Error: no property 'opCall' for type 'void'", like previously.
Nonsense test case is because it is reduced from an usage of
std.traits.isCallable.
--