This is a known issue that we will address.

On Thu, Jun 1, 2017 at 12:37 PM, Marcin Okraszewski <[email protected]>
wrote:

> Hi,
> First of all, thanks for working on this.
>
> I have some doubt if *Array* really work on *double* indexes? I know in
> JS every number is floating point, but still, indexes are logically
> integers, it would be more natural to work with integers here. Moreover,
> JsArrayLike interface is using int for interfaces, so it is even not
> consistent in this respect.
>
> I mean for instance those methods of *Array*:
>
>   public native *double *indexOf(T obj, *double *fromIndex);
>
>   public native *double *indexOf(T obj);
>
>
> While in *JsArrayLike *
>
>   default T getAt(*int* index)
>
>   default *int *getLength()
>
>
> Marcin
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-web-toolkit-contributors/54f5d447-6dff-
> 4289-a619-1d4a57204c1e%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/54f5d447-6dff-4289-a619-1d4a57204c1e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA1ZKQaAWxi6rcKA4DMPqZ1NETr%3DtS5T07%2BJk0UY4BfeYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to