> > - The API's do not use set/get/is as was the case in the old Elemental. So > how can I now detect that a property is readOnly ? > > > We can probably make it final but if we know it is readonly but I think we are not sure when the field is readonly. Julien?
a property flagged as @Const could be make final if it belongs to a class or convert to a simple getter if it belongs to an interface. That being said, clutz doesn't convert correctly a constant closure property to a constant typescript property. I've created a bug internally to track this problem. On Tue, Aug 9, 2016 at 2:11 AM 'Goktug Gokdogan' via GWT Contributors < [email protected]> wrote: > On Mon, Aug 8, 2016 at 6:40 AM, stuckagain <[email protected]> wrote: > >> Some comments: >> >> - Is there a possibility that the API's don't overuse double in the >> future ? For example the XMLHttpRequest.status property is supposed to be >> an integer not a double. >> > > Yes, we will look into. > > >> - The API's do not use set/get/is as was the case in the old Elemental. >> So how can I now detect that a property is readOnly ? >> >> > We can probably make it final but if we know it is readonly but I think we > are not sure when the field is readonly. Julien? > > >> -- >> 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/a39c2d63-82e7-4131-8804-7cecd70af0de%40googlegroups.com >> . >> 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%3DyUA22pvB4kqUCF9figh9FHTdEHk_nB39wqx7_EFng3VKicQ%40mail.gmail.com > <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA22pvB4kqUCF9figh9FHTdEHk_nB39wqx7_EFng3VKicQ%40mail.gmail.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/CABb_3%3D7n3q-xXZFndz10PxH_pmNNjvNE4tdoxr0%2BqJ8-Cu37Cg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
