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

go/printer: odd // alignment in const block #7817

Closed
rsc opened this issue Apr 18, 2014 · 1 comment
Closed

go/printer: odd // alignment in const block #7817

rsc opened this issue Apr 18, 2014 · 1 comment
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented Apr 18, 2014

godoc is aligning the // and the =, which is a bit surprising.
it's fine to leave as is if there is some fundamental reason or if changing it just
breaks too much.

const (
    _          ExprOp = iota
    Add               // Left + Right
    AddEq             // Left += Right
    Addr              // &Left
    And               // Left & Right
)
@griesemer
Copy link
Contributor

Comment 1:

Status changed to Duplicate.

Merged into issue #4808.

@rsc rsc added this to the Go1.4 milestone Apr 14, 2015
@rsc rsc removed the release-go1.4 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 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

3 participants