Hi,
I've just been running into my first issue that looks like a compiler bug 
;-)

I have no clue what exactly causes the issue but this is my situation:

I have two modules (code splitting). 
The module that gets loaded asynchronously has some shared classes.

I have an interface A and an implementing class B

class C {
  public C() {
     B b = new B();
     Window.alert(b instanceof B) <-- true
     init(b);
  }

  public void init(A a) {
         Window.alert(a instanceof B) <-- "undefined"
  }
}

When calling new C() it will show "true" and "undefined" so the class info 
gets lost when invoking init(A a).

It worked fine with 2.0.4 but after upgrading gwt to 2.3 the problem 
started.

Hope this helps,

Daniel

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to