-
Notifications
You must be signed in to change notification settings - Fork 27
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
Panic when evaluating an expression that adds a number to an array #829
Comments
Smaller tickets are easier to write tests against so the approach you've taken already is good. Also want to add that I really appreciate all the testing and bug reporting you've done. It's fantastic work. Thank you! |
This doc might also be of interest for you (it's relatively old functionality but I've only just gotten round to writing a doc for it) |
Describe the bug:
Evaluating the following expression (or seemingly any of the same form, where a number is added to an array) causes a panic.
1 + %[1]
Expected behaviour:
An error should be printed without Murex crashing.
Screenshots:
Platform (please complete the following information):
uname -a
if supported: 6.9.7-arch1-1version --no-app-name
: 6.1.8300Additional context
Attempting to add a number to an object (e.g.
1 + %{"foo":"bar"}
) is properly handled and returns an error without panicking.I'm currently working on something that involves going through a lot of edge cases involving expressions, and filing a lot of (potentially low-priority) issues as I discover them. If it's preferable for me to wait until I'm done and create one larger issue containing all the sub-issues I've found please let me know!
The text was updated successfully, but these errors were encountered: