Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Fix a few edge cases due to missing ast node types #25

Merged
merged 1 commit into from
Dec 23, 2021
Merged

Fix a few edge cases due to missing ast node types #25

merged 1 commit into from
Dec 23, 2021

Conversation

ezimanyi
Copy link
Contributor

  • Traverse Unary expressions in if statements
  • Traverse else blocks

This fixes both false positives and negatives resulting from previously ignoring uses of variables in the above node types. I believe this should fix both issues raised on #23.

* Traverse Unary expressions in if statements
* Traverse else blocks

This fixes both false positives and negatives resulting from
previously ignoring uses of variables in the above node types.
@esimonov
Copy link
Owner

Thank you Eric!

@esimonov esimonov merged commit 5d70754 into esimonov:main Dec 23, 2021
@ezimanyi ezimanyi deleted the fix-edge-cases branch December 23, 2021 16:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants