https://d.puremagic.com/issues/show_bug.cgi?id=10502
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |12077 --- Comment #3 from Kenji Hara <[email protected]> 2014-02-23 00:21:47 PST --- To improve fullyQualifiedName, fixing compiler issue 12077 is necessary. After fixing the compiler bug, adding specialized fullyQualifiedNameImplForSymbols should fix the issue. private template fqnTuple(T...) { static if (T.length == 0) enum fqnTuple = ""; else static if (T.length == 1) enum fqnTuple = fullyQualifiedName!(T[0]); else enum fqnTuple = fullyQualifiedName!(T[0]) ~ ", " ~ fqnTuple!(T[1 .. $]); } // construct "Base!(Args)" for the instantiated types and symbols private template fullyQualifiedNameImplForSymbols(alias T : Base!Args, alias Base, Args...) { enum parentPrefix = fullyQualifiedNameImplForSymbols!(__traits(parent, Base)) ~ '.'; enum fullyQualifiedNameImplForSymbols( = parentPrefix ~ __traits(identifier, Base) ~ "!(" ~ fqnTuple!Args ~ ")"; } private template fullyQualifiedNameImplForSymbols(alias T) { .... } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
