https://issues.dlang.org/show_bug.cgi?id=3538
aneas <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |[email protected] Resolution|FIXED |--- --- Comment #3 from aneas <[email protected]> --- This problem still exists, if the default expression is not a type, but an actual expression referring to a type: template Tpl(T, alias S = "" ~ T.stringof) { pragma(msg, S); } class A { } class B { } alias TA = Tpl!A; alias TB = Tpl!B; I think a possible solution would be to always use a syntaxCopy() of defaultAlias. How would this affect performance? --
