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

Boolean conditions: support prefix negation #961

Closed
petertrr opened this issue Jul 5, 2021 · 1 comment · Fixed by #1295
Closed

Boolean conditions: support prefix negation #961

petertrr opened this issue Jul 5, 2021 · 1 comment · Fixed by #1295
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@petertrr
Copy link
Member

petertrr commented Jul 5, 2021

Now we treat !foo as an elementary expression, i.e. we fix stuff like !(foo && bar) as !(A & B), but treat !foo && bar as A & B instead of !A & B.
Also we can support negating equals operator: !(x == null || y == null) -> x != null && y != null

@orchestr7
Copy link
Member

Probably @nulls can help. (I hope so)

@petertrr petertrr linked a pull request May 24, 2022 that will close this issue
1 task
@nulls nulls added this to the 1.1.1 milestone May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants