Skip to content

staticcheck: catch deprecated refs using dot-imports#1721

Open
gburt wants to merge 1 commit into
dominikh:masterfrom
gburt:gburt-fix-dot-import-deprecated-refs-fn
Open

staticcheck: catch deprecated refs using dot-imports#1721
gburt wants to merge 1 commit into
dominikh:masterfrom
gburt:gburt-fix-dot-import-deprecated-refs-fn

Conversation

@gburt

@gburt gburt commented Jun 23, 2026

Copy link
Copy Markdown

Addresses #602 such that we flag/catch references to deprecated objects even if they were imported using a dot-import.

This involves checking the ast.Idents which will check a lot more nodes. So we only do that if the current file containing the node actually has any dot imports.

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.

1 participant