https://issues.dlang.org/show_bug.cgi?id=14907
Issue ID: 14907
Summary: DMD crash when using template name as a default value
of template's typed argument
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: critical
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
Hey,
this code makes the compiler crash (I know it isn't valid):
module main;
private struct Template( void var = Template ) {}
void main() {
Template!() instance;
}
--
