Re: Method overrides and covariant return types
Daniel Bonniot <[email protected]> Fri, 05 Mar 2004 12:31:25 +0100
| Newsgroups | gmane.comp.lang.nice.general |
|---|---|
| Message-ID | <[email protected]> |
>>If both methods are defined in the same package, then you have the >>freedom not to name then identically from the start. If one of them is >>imported, then you can use a fully qualified name, which is indeed a way >>to state "yes, i really want a new method declared here, not an override". >> >> > >This was what I originally thought too, but I think the parser doesn't parse >this. > Right, fully qualified method names are not supported at the moment. They will probably be implemented together with the visibility checks. Sorry for not making this clear. So my point was that once we have fully qualified method names, we can use them to handle this situation. Daniel ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click