Closed lgrignon closed 8 years ago
I am surprised, but the solution should be Javassist's setGenericSignature
: http://jboss-javassist.github.io/javassist/html/javassist/CtBehavior.html#setGenericSignature-java.lang.String-
okay, I have a fix thanks to your insight.
This "detail" fixes some signature problems so it may cause regression on some client code.
Related PR: https://github.com/cincheo/jsweet/pull/77
Thanks Louis. The fix looks good (and simple) to me. If regression there is, it should be easy to fix for users.
For instance in candy cordova--plugins-FileSystem-0.0.0-SNAPSHOT jsweet.dom.Window has a mixin defining this method :
but it seems that the signature added to jsweet.dom.Window is
Note that the Consumers - callbacks - parameters are now typed with Object
The following code does not work, the compiler complains about the wrong Consumers parameter type: