[Issue 5437] Problems with length of std.traits.EnumMembers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Apr 22 14:01:57 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5437
SomeDude <lovelydear at mailmetrash.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lovelydear at mailmetrash.com
--- Comment #1 from SomeDude <lovelydear at 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: -------
More information about the Digitalmars-d-bugs
mailing list