[Gambas-user] Inheriting, wrapping and casting
Benoît Minisini
gambas at ...1...
Thu Apr 24 22:57:45 CEST 2014
Le 24/04/2014 17:25, Benoît Minisini a écrit :
> Le 19/04/2014 20:40, Tobias Boege a écrit :
>> On Sat, 19 Apr 2014, Bruno F??lix Rezende Ribeiro wrote:
>>> Em Sat, 19 Apr 2014 01:07:21 +0200
>>> Tobias Boege <taboege at ...626...> escreveu:
>>>
>>>> Oh, I forgot to ask: do you want the patch that allows inheritance-
>>>> compatible[*] classes to be used in place of a class in method and
>>>> property signatures to test the above approach - even if it's
>>>> unlikely that it goes mainline?
>>>
>>> Sure!
>>
>> Attached. But be warned (again?): the interpreter is actually not my
>> business. Virtually, I don't even know what I've done to the code as an
>> entire with my patch but it worked in the single test case I had.
>>
> > ...
>
> The patch seems valid. I must check that it breaks nothing else...
>
I fixed your patch, as it didn't work when using the "Object" datatype.
You get it in revision #6249.
Regards,
--
Benoît Minisini
More information about the User
mailing list