-
Notifications
You must be signed in to change notification settings - Fork 553
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
System.print causes different output #801
Comments
If you are on Linux try to run wren inside valgrind. I suspect you are
hitting a variation of the well-known stack corruption.
|
This should hopefully be fixed soon, just waiting on some feedback. Thanks for the report and examples! |
I'm running on macOS currently. |
Closed
Hi @mathewmariani, try with #807 merged, I tested your code and the results are consistent. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I came across this strange error were adding a
System.print
statement changes the expected output of a function.I've run this code in both the VM and in the browser at wren.io/try; additionally, the error is not present when running the script on wren-nest.
When
System.print("bug stopper")
is uncommented the program runs as expected.When commented out the program crashes giving a
Right operand must be a number.
error.Complete error:
The text was updated successfully, but these errors were encountered: