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: inconsistent formatting of three-index slice expression #22111

Closed
griesemer opened this issue Oct 2, 2017 · 2 comments
Closed

cmd/gofmt: inconsistent formatting of three-index slice expression #22111

griesemer opened this issue Oct 2, 2017 · 2 comments
Assignees
Milestone

Comments

@griesemer
Copy link
Contributor

@griesemer griesemer commented Oct 2, 2017

func f(x []int, i, j, k int) []int {
	return x[i:j : k+1]
}
@griesemer griesemer added this to the Go1.10 milestone Oct 2, 2017
@griesemer griesemer self-assigned this Oct 2, 2017
@griesemer
Copy link
Contributor Author

@griesemer griesemer commented Oct 2, 2017

@gopherbot
Copy link

@gopherbot gopherbot commented Oct 2, 2017

Change https://golang.org/cl/67633 mentions this issue: go/printer: fix formatting of three-index slice expression

@gopherbot gopherbot closed this in 5d1addf Oct 3, 2017
@golang golang locked and limited conversation to collaborators Oct 3, 2018
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
2 participants
You can’t perform that action at this time.