[Issue 625] New: static import and renamed import of mixin don't work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 1 17:37:59 PST 2006


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

           Summary: static import and renamed import of mixin don't work
           Product: D
           Version: 0.175
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: wbaxter at gmail.com


[resubmission of issue http://d.puremagic.com/issues/show_bug.cgi?id=506 as an
enhancement.]

static import and renamed import of a mixin don't work if the mixin itself has
imports.

This is a continuation of 
http://d.puremagic.com/issues/show_bug.cgi?id=498
which covers the basic import case.  The fix for that however does not fix the
static import and renamed import cases (import sigs=std.signals) cases.

Here's examples:

------
import sigs=std.signals;
class SigObj
{
    mixin sigs.Signal!();
}
void main()
{
}

----

static import std.signals;
class SigObj
{
    mixin std.signals.Signal!();
}
void main()
{
}


-- 




More information about the Digitalmars-d-bugs mailing list