Hey,

I came across a weird case that no matter what I do I cannot fix. Here
is something that roughly describes the problem:

I have a class that does something like:

public abstract class MyAbstractClass{

@Inject SomeProvider someProvider;

public Widget getWidget(BaseObject object){
  ...
  someProvider.get()
  ...
}

}

When I do GWT compile and look at SOYC, the code split does not work
because of of the following "dependency":

com.my.package.some.place.UnrelatedClassProvider.get()
<arrow> com.my.package.some.unrelated.place.MyAbstractClass::getWidget
()

It appears that Code Split is confused about what provider gets
called, SomeProvider does get called, but for some reason it thinks
that UnrelatedClassProvider.get() is getting called. Any idea why in
the world this would happen?

-Tristan

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to