That was initially the reasoning for me suggesting an as4 instead of extending as3.
An alternative would be to control this with a compiler switch ... sort of like the quirks mode in the browsers (does that still exist?). I'm just thinking of all of these "Fun with JavaScript" in which you can fill hours with unexpectable JavaScript results. Chris ________________________________ Von: Alex Harui <aha...@adobe.com> Gesendet: Mittwoch, 28. September 2016 19:29:22 An: dev@flex.apache.org Betreff: Re: Generics (was: Re: AW: [Falcon] Proposal for new ActionScript language feature: Optionally rename an import) On 9/28/16, 8:37 AM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: >For core classes like Number, Array, Boolean, etc. what looks like a cast >is actually a function call. There's a global function named Array, and >calling that takes precedence over casting. > >Personally, I think we should avoid breaking changes like this. Me too, especially since, on the SWF side, the runtime is handling this. As annoying as it is, we have to maintain backward compatibility. -Alex