Sunday, October 6, 2019

Re: ClassCastException in some browser, but not others (


Actually I believe it is a bug in closures externs from which elemental2 is generated. Without checking my guess is that IDBDatabase is annotated with a @constructor tag rather than a @interface which is incorrect as the spec defines it as an interface [1]. Unfortunately, this is a common problem with some of the closure compiler externs. It does not impact people using closure compiler. Unfortunately, the jsinterop-generator will generate incorrect code if the extern is incorrectly annotated.

But they do accept fixes for these kind of things?

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/67e3a5d8-3c16-4635-a270-0306054ae630%40googlegroups.com.

No comments:

Post a Comment