[Issue 5437] Problems with length of std.traits.EnumMembers

2012-04-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5437



--- Comment #3 from github-bugzi...@puremagic.com 2012-04-22 23:07:38 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/b378fb830983025d65582b2a57fc92f2d432ae87
fix Issue 5437 - Problems with length of std.traits.EnumMembers

https://github.com/D-Programming-Language/dmd/commit/8a0d1309b7fb7d3e793735762901f8a9c99cd4f8
Merge pull request #899 from 9rnsr/fix5437

Issue 5437 - Problems with length of std.traits.EnumMembers

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


[Issue 5437] Problems with length of std.traits.EnumMembers

2012-04-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5437


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


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


[Issue 5437] Problems with length of std.traits.EnumMembers

2012-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5437


SomeDude lovelyd...@mailmetrash.com changed:

   What|Removed |Added

 CC||lovelyd...@mailmetrash.com


--- Comment #1 from SomeDude lovelyd...@mailmetrash.com 2012-04-22 14:02:56 
PDT ---
For the first one, I think you can't ask for the length of members of the
struct before it has finished instantiating templates. So I don't find the
first one surprising.
The compiler tells you that a template that has not been instantiated is not a
type.

The second one compiles fine on 2.059.

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