forked from galsalomon66/s3select
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crash upon incomplete AST creation (#160)
* the negation-operation may cause wrong-build of the AST, that later may cause a crash. that operation is missing handling of several operators * adding saftey checks to avoid bad AST creation * this modification is more generic(and compact), it will catch future enhacments * add unit test to cover use-cases of not operator on addition and multiplication operations --------- Signed-off-by: Gal Salomon <[email protected]>
- Loading branch information
1 parent
bec2436
commit 2ca3b6c
Showing
2 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters