digitalmars.D.bugs - [Issue 17575] New: named mixin template error message
- via Digitalmars-d-bugs (23/23) Jun 29 2017 https://issues.dlang.org/show_bug.cgi?id=17575
https://issues.dlang.org/show_bug.cgi?id=17575 Issue ID: 17575 Summary: named mixin template error message Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: qs.il.paperinik gmail.com Consider mixin template Foo() { } void main() { mixin Foo F; F.x; } It gives: Error: no property 'x' for type 'void' The error message should be like: 'x' is not a member of template 'Foo!()' --
Jun 29 2017