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

Skip to content

Fix QF1004 fixes for aliased imports - #1766

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

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

Conversation

@dajiaohuang
Copy link
Copy Markdown

QF1004 identifies strings and bytes functions by package identity but its fixes hard-coded the default package qualifier. Preserve the qualifier from the matched call when replacing the function name, and add aliased-strings regression coverage.

Validation: go test ./quickfix/qf1004 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