[Issue 1364] 2.003 traits within loop

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 24 07:55:57 PDT 2007


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


Daniel919 at web.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |1298




------- Comment #2 from Daniel919 at web.de  2007-07-24 09:55 -------
@Nazo Humei: On IRC I was told it should work.
The foreach should be "expanded" at compile time to:
writefln(typeid(typeof(__traits(getMember, d, "foo"))));
writefln(typeid(typeof(__traits(getMember, d, "x"))));
...

This bug depends on #1298


-- 



More information about the Digitalmars-d-bugs mailing list