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

fix: DOC503 catch namespaced exceptions #168

Merged
merged 5 commits into from
Sep 23, 2024

Conversation

Amar1729
Copy link
Contributor

Previously, AST walking was not properly identifying the name of exceptions like m.Exception. Update logic for determining names from an AST to correctly get the whole name (as well as related tests).

Fixes #165

Seems to work as expected on the minimal case provided in that issue. Can you think of other edge cases I've missed adding to the tests?

Previously, AST walking was not properly identifying the name of
exceptions like `m.Exception`. Update logic for determining names from
an AST to correctly get the whole name (as well as related tests).
@Amar1729 Amar1729 force-pushed the 165-fix/doc503-namespaced-exception branch from e205043 to b044ece Compare September 20, 2024 04:10
@Amar1729
Copy link
Contributor Author

Updated with another edge case from #165 (comment)

@jsh9
Copy link
Owner

jsh9 commented Sep 23, 2024

Thank you again @Amar1729 !

@jsh9 jsh9 merged commit 5e941f5 into jsh9:main Sep 23, 2024
16 checks passed
@Amar1729 Amar1729 deleted the 165-fix/doc503-namespaced-exception branch October 2, 2024 03:10
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.

False positives for DOC503?
2 participants