https://issues.dlang.org/show_bug.cgi?id=12676
--- Comment #2 from Andrej Mitrovic <[email protected]> --- Here: ----- class C { } class D : C { } template TemplAlias( alias x : D = C ) { } ----- For some reason in the parser isDeclaration() returns false for ": Type", but true for "= Type", and either a parseType() or a parseCondExp() is taken.Later in in the semantic phase the alias class tries to evaluate D as an expression rather than as a type so it fails. --
