[Gambas-user] Issue 78 in gambas: Illegal optimization / May a method's return value type in a derived class be different from the base class?

gambas at ...2524... gambas at ...2524...
Sat Aug 20 02:42:12 CEST 2011


Updates:
	Status: Started

Comment #4 on issue 78 by benoit.m... at ...626...: Illegal optimization / May  
a method's return value type in a derived class be different from the base  
class?
http://code.google.com/p/gambas/issues/detail?id=78

Partially fixed in revision #4015.

Your specific problem is fixed by not allowing changing the return datatype  
of a method (or a property) through inheritance.

But now I have to check method signatures too. It is more complex to do  
that, so it will come later.





More information about the User mailing list