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

x/tools/gopls: duplicates comment after imports on every save #39147

Closed
heschik opened this issue May 19, 2020 · 0 comments
Closed

x/tools/gopls: duplicates comment after imports on every save #39147

heschik opened this issue May 19, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@heschik
Copy link
Contributor

@heschik heschik commented May 19, 2020

https://golang.org/cl/233117 introduced a new bug where each save duplicates the comment immediately after the import block. I noticed this in go/packages/packages.go -- on every save a new copy of the "A LoadMode..." comment will be created.

@pjweinb

@heschik heschik added the gopls label May 19, 2020
@heschik heschik added this to the gopls/v0.5.0 milestone May 19, 2020
@gopherbot gopherbot added the Tools label May 19, 2020
@pjweinb pjweinb self-assigned this May 19, 2020
@stamblerre stamblerre modified the milestones: gopls/v0.5.0, gopls/v0.4.2 Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.