Re: how remove numcheck

2016-09-26 Thread Alex Harui
Please file a bug. We might be able to use: @implements {IArrayLike} -Alex On 9/25/16, 10:00 PM, "lizhi" <s...@qq.com> wrote: >pls add a option. >it is hard to add all as Number on my code > > > >-- >View this message in context: >http://apache-flex-deve

Re: how remove numcheck

2016-09-25 Thread lizhi
pls add a option. it is hard to add all as Number on my code -- View this message in context: http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55313.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: how remove numcheck

2016-09-25 Thread Alex Harui
On 9/25/16, 7:49 PM, "lizhi" wrote: >i have add the -js-output-optimization=skipAsCoercions,and the number() >are >there. > >and float32array and vector no need the number(float32array[i]) > It is probably because we don't have a way to specify the type of [] access. -Alex

Re: how remove numcheck

2016-09-25 Thread lizhi
i have add the -js-output-optimization=skipAsCoercions,and the number() are there. and float32array and vector no need the number(float32array[i]) -- View this message in context: http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55308.html Sent from the Apache

Re: how remove numcheck

2016-09-24 Thread lizhi
x If you reply to this email, your message will be added to the discussion below: http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55297.html To unsubscribe from how remove numcheck, click here. NAML -- View this message in context: http://apach

Re: how remove numcheck

2016-09-23 Thread Alex Harui
On 9/23/16, 8:20 AM, "lizhi" wrote: >and the js is a simple lang ,no need the same of flashruntime.simple is >good Many folks have a different opinion. Their code may be counting on implicit type conversions. We have provided several options to control output. Besides

Re: how remove numcheck

2016-09-23 Thread lizhi
var /** @type {number} */ n; n = arr[0]; }; Isn't that what you want? -Alex If you reply to this email, your message will be added to the discussion below: http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55292.html To unsubscribe from how r

Re: how remove numcheck

2016-09-23 Thread lizhi
or add a new @xxx. 发自我的iPhone -- Original -- From: Alex Harui [via Apache Flex Development] <ml-node+s247n55292...@n4.nabble.com> Date: 周五,9月 23,2016 23:13 To: lizhi <s...@qq.com> Subject: Re: how remove numcheck On 9/22/16, 11:56 PM, &quo

Re: how remove numcheck

2016-09-23 Thread lizhi
zhi <s...@qq.com> Subject: Re: how remove numcheck On 9/22/16, 11:56 PM, "lizhi" <[hidden email]> wrote: >the float32array also has this issue. >and the Number() are slow in loop I could be wrong, but I'm pretty sure the compiler should try to insert a coerci

Re: how remove numcheck

2016-09-23 Thread Alex Harui
On 9/22/16, 11:56 PM, "lizhi" wrote: >the float32array also has this issue. >and the Number() are slow in loop I could be wrong, but I'm pretty sure the compiler should try to insert a coercion there, because otherwise the JS code would behave differently than the AS code if

Re: how remove numcheck

2016-09-23 Thread lizhi
the float32array also has this issue. and the Number() are slow in loop -- View this message in context: http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55287.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: how remove numcheck

2016-09-23 Thread Alex Harui
(this.arr[0]); > >this good,but not good in loop > > > >-- >View this message in context: >http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-t >p55279.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.

how remove numcheck

2016-09-23 Thread lizhi
.arr[0]); this good,but not good in loop -- View this message in context: http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279.html Sent from the Apache Flex Development mailing list archive at Nabble.com.