Yes, that is because strict mode punts on index expressions, because it
doesn't in general know the string value of the index. That'll be
workaround #3.
Jeff
On Mon, Jul 9, 2012 at 2:53 PM, Om wrote:
> On Mon, Jul 9, 2012 at 2:40 PM, Jeff Dyer wrote:
>
> > This is probably a compiler bug, if n
On Mon, Jul 9, 2012 at 2:40 PM, Jeff Dyer wrote:
> This is probably a compiler bug, if not a language bug. Instance
> initializers were ill defined in AS3. In the draft ES4 spec we pinned them
> down to be scoped to the class static scope, so references to 'this' or
> instance variables would not
This is probably a compiler bug, if not a language bug. Instance
initializers were ill defined in AS3. In the draft ES4 spec we pinned them
down to be scoped to the class static scope, so references to 'this' or
instance variables would not be resolved in instance initializers. That
said, AS3 did a
private String s2 =s3;
>
>private static String s3 = "jpm";
>private String s2 = this.s3;
>
> Thanks,
> Ashish
>
>
> -Original Message-
> From: omup...@gmail.com [mailto:omup...@gmail.com] On Behalf Of Om
> Sent: Monday, July 09, 2012
lf Of Om
Sent: Monday, July 09, 2012 3:05 PM
To: flex-dev@incubator.apache.org
Subject: Re: Odd undefined property via reference to static type compilation
error
FWIW, I ran the compiled code through a decompiler and this is how the same
code gets converted as:
*Source*:
package
{
public cla
FWIW, I ran the compiled code through a decompiler and this is how the same
code gets converted as:
*Source*:
package
{
public class A
{
public var minHeight:Number = 9;
public var minHeight2:Number = minHeight;
}
}
*After decompilation*:
package
{
public c
In ActionScript, it looks like this doesn't work:
class A
{
public var minHeight:Number = 9;
protected var minHeight2:Number = this.minHeight;
}
Someone who knows ActionScript in more detail can probably explain why the
compilter/runtime can't figure out what "this" should refer to when
initia
Hi,
> BTW, is this an issue in Adobe Flex 4.6 as well?
Yep issue with both 4.6 and 4.8 and couldn't find an existing JIRA report for
it.
Justin
On 7/4/12 3:43 AM, "Justin Mclean" wrote:
> Hi,
>
>> The generated actionscript should shed some light on the mystery. Have
>> you taken a look yet?
> I tired using Flash Builder but it died on me - sigh.
BTW, is this an issue in Adobe Flex 4.6 as well?
--
Alex Harui
Flex SDK Team
Adobe
Hi,
> The generated actionscript should shed some light on the mystery. Have
> you taken a look yet?
I tired using Flash Builder but it died on me - sigh.
Justin
The generated actionscript should shed some light on the mystery. Have
you taken a look yet?
Om
On Jul 3, 2012 6:58 PM, "Justin Mclean" wrote:
> Hi,
>
> Anyone have an idea why this:
>
> http://ns.adobe.com/mxml/2009";
>xmlns:s="library://ns.adobe.com/flex/spark"
>
11 matches
Mail list logo