http://d.puremagic.com/issues/show_bug.cgi?id=9053


timon.g...@gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |timon.g...@gmx.ch
         Resolution|                            |INVALID


--- Comment #1 from timon.g...@gmx.ch 2012-11-21 09:35:19 PST ---
That is how it is supposed to work.

"Mixin Scope
The declarations in a mixin are ‘imported’ into the surrounding scope. If the
name of a declaration in a mixin is the same as a declaration in the
surrounding scope, the surrounding declaration overrides the mixin one"

dlang.org/template-mixin.html

You can use a string mixin to generate overloads.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to