www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6213] New: MixinIdentifier is not work

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: rayerd.wiz gmail.com



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: -------
Jun 25 2011
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6213


Haruki Shigemori <rayerd.wiz gmail.com> changed:

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



PDT ---
Fixed by dmd 2.056.

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