[Issue 8114] Methods are delegates, not functions.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 18 13:54:53 PDT 2012


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


wfunction at hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


--- Comment #2 from wfunction at hotmail.com 2012-05-18 13:56:26 PDT ---
I understand what you mean, but if that's the case, then the intentional
behavior itself is a bug.

The *correct* way to achieve what was intended would be to add the 'this'
parameter inside the parameter list. Otherwise, it results in buggy code, since
the data type of the function doesn't match what it's pointing to.

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