javaluator icon indicating copy to clipboard operation
javaluator copied to clipboard

Trailing operator evaluates incorrectly

Open MariusVolkhart opened this issue 4 years ago • 1 comments

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 avatar Aug 30 '21 17:08 MariusVolkhart

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 avatar Aug 31 '21 08:08 fathzer