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

cmd/gofmt: one-line function split into two lines #5543

Closed
griesemer opened this issue May 22, 2013 · 8 comments
Closed

cmd/gofmt: one-line function split into two lines #5543

griesemer opened this issue May 22, 2013 · 8 comments
Assignees

Comments

@griesemer
Copy link
Contributor

@griesemer griesemer commented May 22, 2013

What steps will reproduce the problem?
1. http://play.golang.org/p/Oj-1V-dDVb
2. press Format
3. the closing "}" of g() ends up on the next line

What is the expected output? What do you see instead?

g() should remain a one-line function. Same applies if g() were a method.
@rsc
Copy link
Contributor

@rsc rsc commented Jul 30, 2013

Comment 1:

Labels changed: added feature.

@robpike
Copy link
Contributor

@robpike robpike commented Aug 29, 2013

Comment 2:

Not in time for 1.2.

Labels changed: removed go1.2maybe.

@rsc
Copy link
Contributor

@rsc rsc commented Nov 27, 2013

Comment 3:

Labels changed: added go1.3maybe.

@rsc
Copy link
Contributor

@rsc rsc commented Nov 27, 2013

Comment 4:

Labels changed: removed feature.

@rsc
Copy link
Contributor

@rsc rsc commented Dec 4, 2013

Comment 5:

Labels changed: added release-none, removed go1.3maybe.

@rsc
Copy link
Contributor

@rsc rsc commented Dec 4, 2013

Comment 6:

Labels changed: added repo-main.

@griesemer
Copy link
Contributor Author

@griesemer griesemer commented Feb 25, 2014

Comment 7:

Pending CL: https://golang.org/cl/68630043

Status changed to Started.

@griesemer
Copy link
Contributor Author

@griesemer griesemer commented Feb 26, 2014

Comment 8:

This issue was closed by revision 3d4c12d.

Status changed to Fixed.

@griesemer griesemer self-assigned this Feb 26, 2014
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.