Skip to content
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

Trigger InvalidOperand when processing two numeric types in strict operands mode #6169

Merged
merged 2 commits into from
Jul 24, 2021

Conversation

orklah
Copy link
Collaborator

@orklah orklah commented Jul 24, 2021

this PR fixes #6168 where an operation on a numeric type did not trigger InvalidOperand even on strictBinaryOperands mode.

It also improve the wording of the error to mention the flag (I was confused about that when CI on PSL failed) and to remove the term add that is improper given that other operations trigger the same issue

This PR should break the build because PSL has at least one place where operations on numeric are performed.

@weirdan weirdan merged commit 3caceb7 into vimeo:master Jul 24, 2021
@weirdan
Copy link
Collaborator

weirdan commented Jul 24, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

arithmetic operations with numeric should trigger InvalidOperand when strictBinaryOperands is true
2 participants