-
Notifications
You must be signed in to change notification settings - Fork 31
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
OR operator return always true #2
Comments
Hi @drimondi1 and @matheval Until it is fixed you can also generate OR with NOT and AND. This workaround works.
|
@drimondi1 @nielll |
Just change the following line "if ((item is Boolean) || (Boolean)item)" to "if ((item is Boolean) && (Boolean)item)"
|
butulia
added a commit
to butulia/expression-evaluator-c-sharp
that referenced
this issue
Sep 5, 2022
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @matheval
really thanks for you library works very well.
I'm facing an issue with "OR" operator that returns always "true".
please find below an online example
https://dotnetfiddle.net/P9zFsG
can you help me ?
Thanks in advance
Davide
The text was updated successfully, but these errors were encountered: