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

Trailing operator evaluates incorrectly #2

Open
MariusVolkhart opened this issue Aug 30, 2021 · 1 comment
Open

Trailing operator evaluates incorrectly #2

MariusVolkhart opened this issue Aug 30, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@MariusVolkhart
Copy link

Given an expression with a trailing, right-associative operator, the operator may be evaluated incorrectly.

When using the SimpleBooleanEvaluator, an expression like true! resolves to false, but I believe it should result in a syntax error.

MariusVolkhart added a commit to MariusVolkhart/javaluator that referenced this issue Aug 30, 2021
MariusVolkhart added a commit to MariusVolkhart/javaluator that referenced this issue Aug 30, 2021
@fathzer
Copy link
Owner

fathzer commented Aug 31, 2021

Hello Marius,
Thanks a lot for the bug report (and the test case). I agree there's a problem and I will work on it as soon as possible (unfortunately, I will be quite busy during September).
Best regards

@fathzer fathzer added the bug Something isn't working label May 14, 2024
fathzer added a commit that referenced this issue May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants