digitalmars.D.bugs - [Issue 14907] New: DMD crash when using template name as a default
- via Digitalmars-d-bugs (22/22) Aug 11 2015 https://issues.dlang.org/show_bug.cgi?id=14907
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: nobody puremagic.com Reporter: czdanol gmail.com 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; } --
Aug 11 2015