Make shadowing mixin template names an error (5 years old problem)

Steven Schveighoffer schveiguy at gmail.com
Sat May 9 12:04:45 UTC 2026


On Tuesday, 5 May 2026 at 21:47:09 UTC, mw wrote:
> Make shadowing mixin template names an error
>
> https://github.com/dlang/dmd/issues/23060#issuecomment-4374242813

Dennis is correct. This is how mixin templates are supposed to 
work, and if we changed that it would be massively disruptive.

I would recommend using string mixins for the behavior you want.

-Steve




More information about the Digitalmars-d mailing list