Thomas thanks.
Makes sense.On Tue, Feb 6, 2018 at 4:15 PM, Thomas Broyer <t.broyer@gmail.com> wrote:
Fwiw, change was https://github.com/google/Initially, only java.lang classes were included (rationale is http://errorprone.info/jsinterop-generator/commit/ bef23d3b0b365a56624767d4a9734d 05ffa96264?w=1#diff- 16404aeb1089b0449b32db86df85d7 e8R61 bugpattern/JavaLangClash ) and it got changed to include all/most native JS types that have an equivalent in the JDK (with IteratorIterable and IIterableResult probably included for consistency with JsInterable et al.)
On Tuesday, February 6, 2018 at 10:22:59 AM UTC+1, Vassilis Virvilis wrote:Sorry for the noise...okI took I better look and looks like it is only for classes that clashing with Java types, such as RegExp, Set, Math, JsBoolean, JsArray etcOn Tue, Feb 6, 2018 at 11:15 AM, Vassilis Virvilis <vasvir2@gmail.com> wrote:Hi Thomas,Do you happen to have any link with the rationale for this?
I can understand that having elemental2.dom.Document and com.google.gwt.dom.client.Document in the same java file may be somewhat confusing. However I believe to be able to map directly js code to java without the need to put (mentally) everywhere Js is a good thing.--On Tue, Feb 6, 2018 at 12:31 AM, Thomas Broyer <t.broyer@gmail.com> wrote:Native types have been renamed with a Js prefix: https://static.javadoc.io/com.google.elemental2/elemental2-c ore/1.0.0-RC1/elemental2/core/ JsRegExp.html
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com .
To post to this group, send email to google-web-toolkit@googlegroups.com .
Visit this group at https://groups.google.com/group/google-web-toolkit .
For more options, visit https://groups.google.com/d/optout .
Vassilis Virvilis
--Vassilis Virvilis--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com .
To post to this group, send email to google-web-toolkit@googlegroups.com .
Visit this group at https://groups.google.com/group/google-web-toolkit .
For more options, visit https://groups.google.com/d/optout .
--
Vassilis Virvilis
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment