[Issue 625] [module] static import and renamed import of mixin don't work
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 14 04:54:15 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=625
dawg at dawgfoto.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
CC| |dawg at dawgfoto.de
Resolution| |WORKSFORME
--- Comment #1 from dawg at dawgfoto.de 2012-02-14 04:54:11 PST ---
cat > a.d << EOF
module a;
mixin template foo()
{
import std.stream;
Stream stream;
}
EOF
cat > b.d << EOF
module b;
static import impa=a;
class Klass
{
mixin impa.foo!();
}
EOF
cat > c.d << EOF
module c;
static import a;
class Klass
{
mixin a.foo!();
}
EOF
dmd -c b.d
dmd -c c.d
----------
--
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