Re: Precise types & retyping

Daniel Bonniot <[email protected]> Fri, 20 Feb 2004 15:22:26 +0100
Newsgroups gmane.comp.lang.nice.general
Message-ID <[email protected]>
Daniel Bonniot wrote:

> Isaac Gouy wrote:
>
>> What Object return types and parameter types?
>>
>> Leave them as Object or as Any Type?
>
> You mean the default behaviour? It's to ignore any method that 
> includes Object unless they are explicitely retyped. That's mostly 
> remanent from the time when Object was not a valid Nice type. Of 
> course there is still the argument that methods that use Object should 
> probably be retyped to something more specific, but I still think the 
> default behaviour should now be changed not to ignore Object anymore. 
> That will be less confusing, and you will notice the need to retype if 
> you cannot do much with the Object value.

Sorry for this misinformation. That's already the current behaviour! :-)

Daniel



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click