www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10355] New: fullyQualifiedName doesn't work with enums

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10355

           Summary: fullyQualifiedName doesn't work with enums
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: doob me.com


--- Comment #0 from Jacob Carlborg <doob me.com> 2013-06-14 00:20:12 PDT ---
module main;

import std.traits;

enum Foo { a }

static assert(fullyQualifiedName!(Foo) == "main.Foo");

The above assertion passed in DMD 2.061 but fails with 2.062 and later.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 14 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10355



--- Comment #1 from Jacob Carlborg <doob me.com> 2013-06-14 00:29:13 PDT ---
fullyQualifiedName!(Foo) will be resolved to "Foo", it doesn't include the
module name.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 14 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10355


Dicebot <m.strashun gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |m.strashun gmail.com


--- Comment #2 from Dicebot <m.strashun gmail.com> 2013-06-14 01:07:29 PDT ---
https://github.com/D-Programming-Language/phobos/pull/1346

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 14 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10355


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #3 from Kenji Hara <k.hara.pg gmail.com> 2013-06-18 15:11:34 PDT ---
https://github.com/D-Programming-Language/phobos/commit/6054d6a3c386e81b38afc091a6a60c693ad3b43d

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