-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Losing double type when returning 1.0 from JS #808
Comments
Note that there is no difference between |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have an application that runs JS code dynamically using Nashorn on Java 8. I'm migrating to GraalJS, but it seems that when you return
1.0
from JS, Nashorn returns Double1.0
, while GraalJS returns Integer1
.Example Nashorn:
Example GraalJS:
pom.xml:
The text was updated successfully, but these errors were encountered: