Skip to content

Conversation

@ldez
Copy link
Member

@ldez ldez commented Dec 4, 2025

stringscut analyzer reports false positives.
And this is a more important problem because it applies suggested fixes that could creates bugs.

Related to #6232 (comment)

@ldez ldez added this to the unreleased milestone Dec 4, 2025
@ldez ldez added bug Something isn't working linter: update Update the linter implementation inside golangci-lint labels Dec 4, 2025
@ldez ldez force-pushed the fix/modernize-stringscut branch from eec9b40 to 13c9ce7 Compare December 4, 2025 01:02
@ldez ldez requested a review from bombsimon December 4, 2025 01:02
@ldez ldez merged commit c5e3dec into golangci:main Dec 4, 2025
18 checks passed
@ldez ldez deleted the fix/modernize-stringscut branch December 4, 2025 12:56
@leonklingele
Copy link
Member

Has this been reported to the Go team already? Might be worth to let them know and fix the analyzer. If not already reported, I'll do that tomorrow.

Thanks for the quick fix! 😃

@ferhatelmas
Copy link
Contributor

Related to #6232 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working linter: update Update the linter implementation inside golangci-lint

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants