8000 Fix SA4029 fixes for aliased sort imports by dajiaohuang · Pull Request #1767 · dominikh/go-tools · GitHub
[go: up one dir, main page]

Skip to content

Fix SA4029 fixes for aliased sort imports - #1767

Open
dajiaohuang wants to merge 2 commits into
dominikh:masterfrom
dajiaohuang:fix/sa4029-import-alias
Open

dajiaohuang wants to merge 2 commits into
dominikh:masterfrom
dajiaohuang:fix/sa4029-import-alias

Conversation

@dajiaohuang
@dajiaohuang dajiaohuang commented Oct 1, 2026 •
Copy link
Copy Markdown

SA4029 recognizes sort slice types by package identity but its replacement hard-coded the default sort qualifier. Preserve the qualifier from the matched type conversion and add aliased-import regression coverage.

Validation: go test ./staticcheck/sa4029 passes.

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

0