[Issue 7206] Constructor from mixin does not conflict with other constructors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 2 14:24:57 PST 2012


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


timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timon.gehr at gmx.ch


--- Comment #2 from timon.gehr at gmx.ch 2012-01-02 14:24:56 PST ---
This is by design:

Spec: 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.

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


More information about the Digitalmars-d-bugs mailing list