On 8/22/16, 8:05 AM, "Josh Tynjala" <joshtynj...@gmail.com> wrote:

>1. No. The "this." should definitely be required in this case. The older
>compiler was wrong, and we should not continue to propagate the bug. Most
>likely, ASC 2.0 in the Adobe AIR SDK behaves the same as Falcon, so it
>would be good if that particular code were treated the same in all modern
>ActionScript compilers.

Well, we had one opinion for the opposite.  I think I might leverage the
-compiler.mxml.compatibility-version option.  Even though this isn't MXML,
we'll add a 4.7 version as the default and require 'this'.  But if you set
compatibility-version to 4.6 or earlier you will get legacy behavior.


>4. If you call something that is not a function, Flash Player will throw
>an
>exception.

Actually, what I meant was, has anyone seen mention of a specification
where resolving functions is different from resolving variables such that
'this' isn't actually required?

Thanks,
-Alex

Reply via email to