Comment #0 by qs.il.paperinik — 2017-06-29T22:08:38Z
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!()'
Comment #1 by dlang-bot — 2022-09-05T18:01:12Z
@ntrel updated dlang/dmd pull request #14417 "Show left expression in *no property* error when `searchUFCS` fails" fixing this issue:
- Fix Issue 17575 - named mixin template error message
https://github.com/dlang/dmd/pull/14417
Comment #2 by dlang-bot — 2022-09-06T06:03:12Z
dlang/dmd pull request #14417 "Show left expression in *no property* error when `searchUFCS` fails" was merged into master:
- 0a343d3839466b1df2c225271a5eaf4a15062742 by Nick Treleaven:
Fix Issue 17575 - named mixin template error message
https://github.com/dlang/dmd/pull/14417