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

resolve #37: ignore comment directives from nested switches #38

Merged
merged 1 commit into from Mar 7, 2022
Merged

resolve #37: ignore comment directives from nested switches #38

merged 1 commit into from Mar 7, 2022

Conversation

FastNav
Copy link
Contributor

@FastNav FastNav commented Mar 7, 2022

Resolve #37 as suggested by @nishanths by looking for directives purely within the comments directly associated with the switch statement's AST node. Add a unit test to capture the case of directives present in nested switch statements.

@nishanths
Copy link
Owner

Thank you!

@nishanths nishanths merged commit c8d4046 into nishanths:master Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Analyzer incorrectly detects comment directives on nested switch statements
2 participants