Re: [FlexJS]variable's default access control is not complied correctly in javascript mode

2016-10-10 Thread OK
Alex Harui wrote > IMO, it is a bug if you have to add a 'this' that isn't required in > ActionScript. I think I fixed this particular scenario. Let us know what > else you f ind. Yes you're right it should classified as a bug but I've not take the time to figure out in which cases it happens a

Re: [FlexJS]variable's default access control is not complied correctly in javascript mode

2016-10-10 Thread Alex Harui
On 10/10/16, 12:18 PM, "OK" wrote: > >While working with FlexJS I've noticed that sometimes it seems to be >crucial >to use the "this" keyword: >E.g.; return this.field; >But I'm not sure if I remember it correctly... IMO, it is a bug if you have to add a 'this' that isn't required in ActionScr

Re: [FlexJS]variable's default access control is not complied correctly in javascript mode

2016-10-10 Thread OK
pan Li wrote > package > { > public class SomeClass > { >var field:String = "hello"; >public function doSomething():String >{ >return field; >} > } > } While working with FlexJS I've noticed that sometimes it seems t

Re: [FlexJS]variable's default access control is not complied correctly in javascript mode

2016-10-10 Thread Alex Harui
I'll look into it. We haven't done much work with package internal. -Alex On 10/9/16, 9:25 PM, "Pan Li" wrote: > > >Actionscript document defines that internal (default) variable means: (the >variable is )Visible to references inside the same package. > >But it doesn't compile correctly in Fle

[FlexJS]variable's default access control is not complied correctly in javascript mode

2016-10-10 Thread Pan Li
Actionscript document defines that internal (default) variable means: (the variable is )Visible to references inside the same package. But it doesn't compile correctly in FlexJS javascript mode in 0.7 and 0.6, it does build but the created javascript is broken: here is one simple class to reprod