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


Andrej Mitrovic <andrej.mitrov...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrov...@gmail.com
         Resolution|                            |WONTFIX


--- Comment #1 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-10-21 
20:31:36 PDT ---
Use fullyQualifiedName from Phobos:

module test;
import std.traits;

class Foo
{
    enum Boo
    {
        X
    }
}

pragma(msg, fullyQualifiedName!(Foo.Boo));  // => test.Foo.Boo

.stringof is unreliable at best, *especially* for metaprogramming.

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

Reply via email to