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

           Summary: MixinIdentifier is not work
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: rayerd....@gmail.com


--- Comment #0 from Haruki Shigemori <rayerd....@gmail.com> 2011-06-25 22:47:40 
PDT ---
mixin template T()
{
    void f(C) {}
}

class C
{
    mixin T V;
    void f(C) {}
}

void main() {}

a.d(7): Error: class a.C use of a.C.T!().f(C _param_0) hidden by C is
deprecated


_V._f(C) is inserted to class C by mixin within MixinIndentifier, it is not
naked f(C).
Because C.V.f(C) and C.f(C) are not conflict.

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

Reply via email to