[Issue 8718] Template mixin + string mixin name collision

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jul 26 08:14:45 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=8718

yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from yebblies <yebblies at gmail.com> ---
I think this is working correctly, with the template parameter shadowing the
local variable.  It is fairly easy to work around by either renaming the
variable or using alias parameters instead of string mixins.

--


More information about the Digitalmars-d-bugs mailing list