Please file a bug. We might be able to use: @implements
{IArrayLike}
-Alex
On 9/25/16, 10:00 PM, "lizhi" wrote:
>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-t
>p
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.
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
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 F
why try check the float32array and vector?it is must number。no need as number
发自我的iPhone
-- Original --
From: Alex Harui [via Apache Flex Development]
Date: 周五,9月 23,2016 23:44
To: lizhi
Subject: Re: how remove numcheck
On 9/23/16, 8:20 AM, "
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
@flexjsignorecoercion,
and the js is a simple lang ,no need the same of flashruntime.simple is good
发自我的iPhone
-- Original --
From: Alex Harui [via Apache Flex Development]
Date: 周五,9月 23,2016 23:13
To: lizhi
Subject: Re: how remove numcheck
On 9/22/16, 11:56 PM, "
or add a new @xxx.
发自我的iPhone
-- Original --
From: Alex Harui [via Apache Flex Development]
Date: 周五,9月 23,2016 23:13
To: lizhi
Subject: Re: how remove numcheck
On 9/22/16, 11:56 PM, "lizhi" <[hidden email]> wrote:
>the float32array
it is need too many code,matrix3d.as rawdata 100+as number.and the
float32array,and vector no need the check
发自我的iPhone
-- Original --
From: Alex Harui [via Apache Flex Development]
Date: 周五,9月 23,2016 23:13
To: lizhi
Subject: Re: how remove numcheck
On
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 there were strings
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.
Why not make it untyped?
On Sep 23, 2016, at 9:39 AM, lizhi wrote:
> is it other way?
>
> this var n:number = arr[i];
> look good
>
> but the as Number not too good.
>
> or other option?
>
>
>
> --
> View this message in context:
> http://apache-flex-development.247.n4.nabble.com/how-
is it other way?
this var n:number = arr[i];
look good
but the as Number not too good.
or other option?
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55284.html
Sent from the Apache Flex Development mailing list archive at N
Maybe try:
var a:Number = arr[0] as Number;
I would add @flexjsignorecoercion Number to an asdoc block for the method.
Another option may be to convert arr to Vector.
-Alex
On 9/22/16, 11:18 PM, "lizhi" wrote:
>as code
>
>for (var i:int = 0; i < 1;i++ ){
>
14 matches
Mail list logo