http://d.puremagic.com/issues/show_bug.cgi?id=2433
Summary: Assertion failure: 't->deco' on line 604 in file 'mtype.c' Product: D Version: 2.020 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Maybe duplicate of or related to 2047/1994 template Foo(T) { } class Test { alias Foo!(typeof(&this.bar)) foo; int bar() { return 1; } } Worked around by placing foo after bar. --