]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add Type.LongString and Type.ShortString
authorJosh Bleecher Snyder <josharian@gmail.com>
Sun, 6 Nov 2016 19:08:08 +0000 (11:08 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 14 Mar 2017 01:51:56 +0000 (01:51 +0000)
commit84b9329bd9085a47325818005b6162af265ddfa4
tree80d2100fb6b73e02483a3115b2f1c3220f6fb995
parent6088fab92015d4901e515a6991db874889508eba
cmd/compile: add Type.LongString and Type.ShortString

Reduces duplication and centralizes documentation.
Moves all uses of FmtUnsigned and tconv inside fmt.go.

Passes toolstash -cmp.

Change-Id: If6d906e7e839de05f36423523a3a1d596e29807d
Reviewed-on: https://go-review.googlesource.com/38141
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/gc/fmt.go
src/cmd/compile/internal/gc/reflect.go
src/cmd/compile/internal/gc/subr.go
src/cmd/compile/internal/gc/swt.go