https://issues.dlang.org/show_bug.cgi?id=18970
Issue ID: 18970
Summary: DMD segfault due to opDispatch
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
This crashes DMD:
struct S
{
this(int)
{
this.yyy;
}
auto opDispatch(string name)()
{
alias T = typeof(x);
static if(is(T.U)) {}
}
}
--
