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

gofmt doesn't line up "=" in const declaration #1414

Closed
gopherbot opened this issue Jan 14, 2011 · 4 comments
Closed

gofmt doesn't line up "=" in const declaration #1414

gopherbot opened this issue Jan 14, 2011 · 4 comments

Comments

@gopherbot
Copy link
Contributor

by snilsson@nada.kth.se:

// gofmt doesn't line up "=" in const declaration
package main

const (
    umax uint                  = ^uint(0) // maximum value for a uint
    bpu  = 1 << (5 + umax>>63)            // bits per uint
)

func main() {}
@robpike
Copy link
Contributor

robpike commented Jan 14, 2011

Comment 1:

Owner changed to g...@golang.org.

@griesemer
Copy link
Contributor

Comment 2:

Status changed to Thinking.

@rsc
Copy link
Contributor

rsc commented Apr 20, 2011

Comment 3:

Checked - still broken.

Status changed to Accepted.

@griesemer
Copy link
Contributor

Comment 4:

This issue was closed by revision 499ad94.

Status changed to Fixed.

@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
Development

No branches or pull requests

4 participants