FAQ
Reviewers: r, rsc,

Message:
Hello r@golang.org, rsc@golang.org (cc: golang-dev@googlegroups.com),

I'd like you to review this change to
https://code.google.com/p/go


Description:
gofmt: simplify slices of the form s[a : len(s)] to s[a:]

Fixes issue 4314.

Please review this at http://codereview.appspot.com/6822059/

Affected files:
M src/cmd/gofmt/gofmt_test.go
M src/cmd/gofmt/simplify.go
A src/cmd/gofmt/testdata/slices1.golden
A src/cmd/gofmt/testdata/slices1.input
A src/cmd/gofmt/testdata/slices2.golden
A src/cmd/gofmt/testdata/slices2.input

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 31, '12 at 6:33p
activeOct 31, '12 at 10:36p
posts3
users2
websitegolang.org

2 users in discussion

Gri: 2 posts R: 1 post

People

Translate

site design / logo © 2022 Grokbase