www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12867] New: std.traits.fullyQualifiedName fails on

https://issues.dlang.org/show_bug.cgi?id=12867

          Issue ID: 12867
           Summary: std.traits.fullyQualifiedName fails on
                    ClassName.staticMember.memberOfStruct
           Product: D
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: donny.viszneki gmail.com

Code to reproduce is very simple:

import std.traits : fullyQualifiedName;
struct Foo { int fooMember; }
class Bar { static Foo foo; }
pragma(msg, fullyQualifiedName!(Bar.foo.fooMember));

Can be seen here as well:

http://dpaste.dzfl.pl/a2cbe9847f92

--
Jun 06 2014