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


Hoenir <mrmoc...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrmoc...@gmx.de


--- Comment #10 from Hoenir <mrmoc...@gmx.de> 2010-02-04 20:00:15 PST ---
This is correlated with that bug:
http://d.puremagic.com/issues/show_bug.cgi?id=1386

Interestingly it still doesn't work even though allMembers returns a tuple
since r360:

4: foreach(m; __traits(allMembers, Check)){
5:    if (!__traits(isVirtualFunction, __traits(getMember, Check, m))){
6:        writefln("Var: s%, Type: %s", m, typeid(typeof(m)));
    }
}

yields:

main.d(5): Error: 'this' is only defined in non-static member functions, not
main
main.d(5): Error: this for a needs to be type Check not type int

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

Reply via email to