Re: [FlexJS] 'new int()' causes problem in FlexJS 0.7

2016-10-14 Thread Alex Harui
On 10/13/16, 9:39 PM, "Pan Li" wrote: > > >Hi Alex >there is no reason to use "new". I am asking this because we have old Flex >code to migrate to FlexJS, and I noticed a difference OK, well I made a change to the compiler to generate a call to

Re: [FlexJS] 'new int()' causes problem in FlexJS 0.7

2016-10-13 Thread Pan Li
Hi Alex there is no reason to use "new". I am asking this because we have old Flex code to migrate to FlexJS, and I noticed a difference My Apache Flex community contribution is working on the open source Moonshine-IDE.com for FlexJS.

Re: [FlexJS] 'new int()' causes problem in FlexJS 0.7

2016-10-13 Thread Alex Harui
On 10/13/16, 3:32 AM, "Pan Li" wrote: > > >this line works in Flex application as expected >test = new int("123") > >but it doesn't work in FlexJS 0.7, it does build but the created >javascript >fails with javascript error: >Can't find variable: int I'll look into it, but