[Issue 10502] Can't get fullyQualifiedName of a templated struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 29 10:04:15 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10502



--- Comment #1 from Justinas Šneideris <develop32 at gmail.com> 2013-06-29 10:04:15 PDT ---
(In reply to comment #0)
> void main()
> {
>     struct Data(T)
>     {
>         T[16] stuff;
>     }
> 
>     import std.traits;
>     auto name = fullyQualifiedName!(Data!long);
> }
> 
> Currently this or anything similar does not work. Compiler complaints about
> "forward reference of variable parentPrefix" in std.traits (300).

Its not about structs, any template does not work, be that class, struct or
function. Am I missing something?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list