https://issues.dlang.org/show_bug.cgi?id=20057
Issue ID: 20057
Summary: [REG master] compiler hang on conclicting local and
imported symbol
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: ice, ice-on-invalid-code
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
Regression in DMD master, the following code used to be rejected quickly now it
hangs the compiler:
---
struct BlackHole(alias T){ T t;}
import std.typecons: BlackHole;
extern(C++) interface Inter
{
void func();
}
BlackHole!Inter var;
---
--