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

dev: sync checker with x/[email protected] #5201

Merged
merged 2 commits into from
Dec 7, 2024

Conversation

ldez
Copy link
Member

@ldez ldez commented Dec 7, 2024

Updates the code borrowed from x/tools

Continuation of the work done inside #5109

I still have not found the Lost Ark but I am near the Temple of Doom 😸

@ldez ldez added enhancement New feature or improvement area: core labels Dec 7, 2024
@ldez ldez added this to the next milestone Dec 7, 2024
@ldez ldez requested a review from bombsimon December 7, 2024 00:42
@ldez ldez force-pushed the feat/sync-checker branch from ec608b9 to 2f111e5 Compare December 7, 2024 00:47
@ldez ldez changed the title dev: sync checker with v0.28.0 dev: sync checker with x/[email protected] Dec 7, 2024
Copy link
Member

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚢


// disallow calls after Run
// correct result type?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the question here? Why they're different? The code seems to properly check the difference and return a well format error. Should the comment indicate that it's not known why they would be different?

Copy link
Member Author

@ldez ldez Dec 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a copy of the original comment 😉

https://github.com/golang/tools/blob/v0.28.0/go/analysis/checker/checker.go#L360

I think this is not a question but an explanation of the section.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦 Oh sorry. I thought it was you since it was a lone diff, should've checked upstream first!

@ldez ldez merged commit 5572979 into golangci:master Dec 7, 2024
15 checks passed
@ldez ldez deleted the feat/sync-checker branch December 7, 2024 16:06
@ldez ldez modified the milestones: next, v1.63 Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants