-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/gofmt: applying gofmt to partial code fails if it ends with line comment and no newline #8411
Labels
Comments
Owner changed to @griesemer. Status changed to Accepted. |
CL https://golang.org/cl/124700043 mentions this issue. |
This issue was closed by revision 9368d6c. Status changed to Fixed. |
wheatman
pushed a commit
to wheatman/go-akaros
that referenced
this issue
Jun 25, 2018
Fix issue by always appending newline after user input, before the closing curly bracket. The adjust func is modified to remove this new newline. Add test case (it fails before CL, passes after). Fixes golang#8411. LGTM=gri R=golang-codereviews, bradfitz, josharian, gri CC=golang-codereviews https://golang.org/cl/124700043
wheatman
pushed a commit
to wheatman/go-akaros
that referenced
this issue
Jul 9, 2018
Fix issue by always appending newline after user input, before the closing curly bracket. The adjust func is modified to remove this new newline. Add test case (it fails before CL, passes after). Fixes golang#8411. LGTM=gri R=golang-codereviews, bradfitz, josharian, gri CC=golang-codereviews https://golang.org/cl/124700043
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: