digitalmars.D.bugs - [Issue 15069] New: nonsense struct template instantiations still
- via Digitalmars-d-bugs (27/27) Sep 16 2015 https://issues.dlang.org/show_bug.cgi?id=15069
https://issues.dlang.org/show_bug.cgi?id=15069 Issue ID: 15069 Summary: nonsense struct template instantiations still compile Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: john.loughran.colvin gmail.com void main() { Stuff!(Thing!float) s; } struct Stuff(T) { T!int var; } struct Thing(T) { T varling; } This compiles and makes no sense. --
Sep 16 2015