Re: Precise types & retyping
Daniel Bonniot <[email protected]>
| Newsgroups | gmane.comp.lang.nice.general |
|---|---|
| Message-ID | <[email protected]> |
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. 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