We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Complex('a+5i')
Hi, trying to migrate some of my libraries to truffleruby and found this difference between truffleruby and MRI
The code is quite simple:
Running this (in irb for example) on MRI 3.1 raise an exception:
irb
(irb):3:in `Complex': invalid value for convert(): "a+5i" (ArgumentError)
Running this in truffleruby 22.2.0returns (0+0i) without any exception
truffleruby 22.2.0
(0+0i)
The text was updated successfully, but these errors were encountered:
Thank you for reporting the issue. Fixed in fb8887c.
Sorry, something went wrong.
Thanks
andrykonchin
No branches or pull requests
Hi, trying to migrate some of my libraries to truffleruby and found this difference between truffleruby and MRI
The code is quite simple:
Running this (in
irb
for example) on MRI 3.1 raise an exception:Running this in
truffleruby 22.2.0
returns(0+0i)
without any exceptionThe text was updated successfully, but these errors were encountered: