[Issue 2520] New: ICE on template mixin typedef
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 17 05:36:38 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2520
Summary: ICE on template mixin typedef
Product: D
Version: unspecified
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: kovrov+puremagic at gmail.com
class Base { }
class Derived(alias TEST) : Base { mixin TEST; }
void test()() {}
void main()
{
//alias Derived!(test) MyDerived; // ok
typedef Derived!(test) MyDerived; // ICE
Base obj = new MyDerived();
}
--
More information about the Digitalmars-d-bugs
mailing list