[Issue 8114] Methods are delegates, not functions.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 19 09:16:40 PDT 2012


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



--- Comment #10 from Stewart Gordon <smjg at iname.com> 2012-05-19 09:18:15 PDT ---
(In reply to comment #9)
> I'm just saying, that might be what it means, but is just poorly explained.
> Taking address of member on the class has been around since D1

Maybe.  But it can't possibly be intended that type type of &Test.foo is void
function().  It would have to be void function(Test).  And the spec would have
to explicitly allow it.

-- 
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