Hello,
This is funny becasue I was just having this problem with the Event clone() ! :)
I guess I just slammed it with a coerrsion for now.(Yeah I realize this is not an interface but it's the same idea :: you can't override a return type)
But, yeah, I second this motion for the futrue!
Peace, MikeOn 3/6/06, Gordon Smith < [EMAIL PROTECTED]> wrote:I think there's general agreement here that we want to do this in a future release, but that the schedule doesn't allow it for this release. There are quite a few other things that people want as well -- strongly-typed array, enums, inner classes, etc. -- but we can't open up the feature set again this late in the cycle (nearly Beta 2).
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel
Sent: Monday, March 06, 2006 1:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] polymorphic interfaces
hi all, especially Adobe dudes working on ze language.
the fact that method signatures are not polymorphic when implementing an interface or overriding a function is a real pain in the .... behind.
now in my interface i have to create a function as such
interface IBla
{
function clone():IBla
}
but two levels down the line when i have extended this interface with another i want my clone to return a more concrete type, and then each of my classes that implement this interface their clone methods would ideally return their own type.
yet all these classes implement IBla in some fashion either directly or indirectly so... anyway polymorphic function signatures would be nice.
thanks
johan
----
What goes up, does come down.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
j:pn
http://www.lennel.org
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.