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


timon.g...@gmx.ch changed:

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


--- Comment #7 from timon.g...@gmx.ch 2012-01-28 14:05:08 PST ---
On second thought, I might be wrong. The spec states:

- "Virtual functions all have a hidden parameter called the this reference,
which refers to the class object for which the function is called."

- "A functions in a derived class with the same name and parameter types as a
function in a base class overrides that function:"

If the type of the hidden parameter was included in the "parameter types" part
of the second statement, no function would override another, therefore it
apparently is not. Therefore the commit indeed fixed the discrepancy with the
spec. I think the design should be revisited at some point to make overriding
more intuitive and powerful.

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

Reply via email to