2011/8/19 Benoît Minisini <[email protected]>:
> To fix the bug tracker issue #78, I had to do some incompatible changes.

> But now, changing the return datatype of a method through inheritance is now
> correctly forbidden.
>
> Theoretically, I have to prevent method signature from changing between
> inheritance too. But it is more complex to do that, so it will come later.
>
> I hope that it won't break your projects too much.
>

So, the signature and the return value of a method in a sub-class
should be identical to the method in its super-class.

If some of them is different in the sub-class, then the method on the
sub-class is a new one, not the redefinition of the method on the
super-class, ¿right?

-- 
Fabián Flores Vadell
www.comoprogramarcongambas.blogspot.com
www.speedbooksargentina.blogspot.com

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to