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

fix incompatible call for gofumpt #1235

Closed
wants to merge 2 commits into from
Closed

Conversation

slixurd
Copy link

@slixurd slixurd commented Jul 12, 2020

Couple days ago, there is incompatible change method declaration for format.Source()

Check this commit for the change
mvdan/gofumpt@42bb513

Simply run go get -u github.com/golangci/golangci-lint/cmd/golangci-lint will fail

golangci-lint@v1.28.3/pkg/golinters/gofumpt.go:49:41: cannot use "" (type string) as type format.Options in argument to format.Source

Couple days ago, there is incompatible change method declaration for format.Source()

Check this commit for the change
mvdan/gofumpt@42bb513

Simply run `go get -u github.com/golangci/golangci-lint/cmd/golangci-lint` will fail 
`golangci-lint@v1.28.3/pkg/golinters/gofumpt.go:49:41: cannot use "" (type string) as type format.Options in argument to format.Source`
@boring-cyborg
Copy link

boring-cyborg bot commented Jul 12, 2020

Hey, thank you for opening your first Pull Request !

@CLAassistant
Copy link

CLAassistant commented Jul 12, 2020

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@sayboras sayboras left a comment

Choose a reason for hiding this comment

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

Request changes due to compilation issue.

@SVilgelm
Copy link
Member

SVilgelm commented Jul 12, 2020

This bug is already fixed in #1228
Closing as a duplicate

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.

Add gofumpt
4 participants