The Issue I noticed is very close to what Peter Donald described.
Problem of UiBinder <ui:Style> tag looks similar but not the same... I'm
not sure if its possible fix would cover both cases.
It just happened again to me...
I'll try to provide more info:
Just to mention that I am using gwt:devmode to run only on client side
(not codeserver) along with recent elemental 2 and GWT.
I have code similar to this:
@Override
*public void *onModuleLoad() {
*// method1(); // method2(); *method3();
}
I have method1() and method2() with some complex code.
I comment calls of method1() and method2() (codes of those methods are not
commented). I do some other work (e.g 1 day of work) then I uncomment those
methods, reload and then I see error like this:
*Uncaught TypeError: xxx_0_g$.yyy_0_g$ is not a function*
After that I need to move code around and reload browser until error is
gone.
On Wednesday, December 6, 2017 at 5:17:50 PM UTC+1, DavidN wrote:
>
> Jens,
>
> yes indeed that works! I will create a bug report.
>
> David
> On Tue, 5 Dec 2017 at 17:59, Jens <[email protected] <javascript:>>
> wrote:
>
>>
>> One situation where it always pops up is when I am using UiBinder.
>>> I start our with a plain ui.xml file which does not contain a ui:Style
>>> tag.
>>> Just access the application in the browser so that it gets compiled to
>>> JS.
>>>
>>> Then I add an <ui:Style> tag with some custom styling and I reload my
>>> browser.
>>> The second incremental compilation is broken.
>>> The only solution is to clear the cache and then it works again.
>>>
>>
>> Oh this still exists in newest GWT? I thought it was just an issue in our
>> custom build (something between 2.7 and 2.8). Maybe you should file a bug
>> then, as it is pretty easy to reproduce.
>>
>> An additional workaround is to change your <ui:style> to <ui:style
>> field="someName"/> and after a compile remove the field="someName" thing
>> again. A bit clunky but maybe faster than recompiling everything.
>>
>> -- J.
>>
>> --
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected]
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.