Hi,

To finish fixing issue #78, in revision #4064, I have added a new check in the 
Gambas inheritance mechanism.

Now, a class method can override a method of a parent class only if they have 
the same signature.

The check is not done for the "_new" special method, as the inheritance of 
_new is special (see "inheritance and constructor" in the "Gambas object 
model" documentation on the wiki).

And the check is not done too for a native class inheriting another native 
class. C/C++ programmer are supposed to know what they are doing. :-)

Maybe you will get new "Badly overridden" errors in your projects now. Sorry 
for that!

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to