http://d.puremagic.com/issues/show_bug.cgi?id=6705
Stewart Gordon <s...@iname.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid, wrong-code CC| |s...@iname.com --- Comment #1 from Stewart Gordon <s...@iname.com> 2012-02-12 12:13:22 PST --- >From what I can make out, the code is valid - a class member falls under "any type of D symbol", and func!anything is just an int(int) function. For me (2.057 Win32), the given code throws an AV at runtime (wrong-code). Reinstating the commented out line gives C:\Users\Stewart\Documents\Programming\D\Tests\bugs>dmd bz6705.d bz6705.d(15): Error: need 'this' to access member func (rejects-valid) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------