[Issue 1179] Compiler doesn't complain about function redefinition when using template mixin
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 23 12:04:35 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1179
bugzilla at digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Comment #1 from bugzilla at digitalmars.com 2007-04-23 14:04 -------
This is the way its supposed to work. Each mixin gets its own namespace, so
that names can match names in the non-mixin declarations and other mixin
declarations. You can access those conflicting names by using the mixin name as
a scope operator.
--
More information about the Digitalmars-d-bugs
mailing list