You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some js libraries making use of the setTimer function on es4x are sometimes generating exceptions with this message:
invokeMember (setTimer) on io.vertx.core.impl.VertxImpl@2c930868 failed due to: Cannot convert 'NaN'(language: Java, type: java.lang.Double) to Java type 'long': Invalid or lossy primitive coercion
Looks like there might be a type handling issue in the es4x implementation
The text was updated successfully, but these errors were encountered:
In the polyfill we're coercing the argument to number with Number(value) which can return NaN. We should either use the function isNaN() or do an extra verification against x !== x
Some js libraries making use of the setTimer function on es4x are sometimes generating exceptions with this message:
invokeMember (setTimer) on io.vertx.core.impl.VertxImpl@2c930868 failed due to: Cannot convert 'NaN'(language: Java, type: java.lang.Double) to Java type 'long': Invalid or lossy primitive coercion
Looks like there might be a type handling issue in the es4x implementation
The text was updated successfully, but these errors were encountered: