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: incorrect comment alignment following a label #5623

Closed
mxk opened this issue Jun 3, 2013 · 10 comments
Closed

cmd/gofmt: incorrect comment alignment following a label #5623

mxk opened this issue Jun 3, 2013 · 10 comments
Assignees

Comments

@mxk
Copy link

@mxk mxk commented Jun 3, 2013

What steps will reproduce the problem?
http://play.golang.org/p/YP1-YXKDXd

What is the expected output?
label:
    mask := uint64(1)<<c - 1           // Allocation mask
    used := atomic.LoadUint64(&h.used) // Current allocations
    ...

What do you see instead?
label:
    mask := uint64(1)<<c - 1 // Allocation mask
    used := atomic.LoadUint64(&h.used) // Current allocations
    ...

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
Windows

Which version are you using?  (run 'go version')
go version go1.1 windows/amd64
@griesemer
Copy link
Contributor

@griesemer griesemer commented Jun 10, 2013

Comment 2:

Owner changed to @griesemer.

Status changed to Accepted.

@rsc
Copy link
Contributor

@rsc rsc commented Jul 30, 2013

Comment 3:

Labels changed: added priority-later, go1.2maybe, removed priority-triage.

@rsc
Copy link
Contributor

@rsc rsc commented Jul 30, 2013

Comment 4:

Labels changed: added feature.

@robpike
Copy link
Contributor

@robpike robpike commented Aug 29, 2013

Comment 5:

Not for 1.2.

Labels changed: removed go1.2maybe.

@rsc
Copy link
Contributor

@rsc rsc commented Nov 27, 2013

Comment 6:

Labels changed: added go1.3maybe.

@rsc
Copy link
Contributor

@rsc rsc commented Nov 27, 2013

Comment 7:

Labels changed: removed feature.

@rsc
Copy link
Contributor

@rsc rsc commented Dec 4, 2013

Comment 8:

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

@rsc
Copy link
Contributor

@rsc rsc commented Dec 4, 2013

Comment 9:

Labels changed: added repo-main.

@griesemer
Copy link
Contributor

@griesemer griesemer commented Feb 25, 2014

Comment 10:

Pending fix:
https://golang.org/cl/68400043

Status changed to Started.

@griesemer
Copy link
Contributor

@griesemer griesemer commented Feb 25, 2014

Comment 11:

This issue was closed by revision c738591.

Status changed to Fixed.

@mxk mxk added fixed labels Feb 25, 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
5 participants
You can’t perform that action at this time.