[Issue 12659] Module level mixin templates conflict
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Sep 17 06:57:34 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=12659
Marco Leise <Marco.Leise at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Marco.Leise at gmx.de
Summary|Named mixin templates |Module level mixin
|conflict |templates conflict
--- Comment #1 from Marco Leise <Marco.Leise at gmx.de> ---
Generally, symbols mixed in at module level conflict. E.g.:
mixin template Preparer()
{
bool isPrepared;
}
when mixed into multiple modules causes conflicts when accessing `isPrepared`.
In particular `fully.qualified.module.name.isPrepared` does not help the
compiler distinguish the symbols either.
--
More information about the Digitalmars-d-bugs
mailing list