]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: gofmt
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 8 Mar 2016 19:16:04 +0000 (19:16 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 8 Mar 2016 19:17:24 +0000 (19:17 +0000)
Change-Id: I754861147838d0f6c184d8deb8a028062a1d3214
Reviewed-on: https://go-review.googlesource.com/20400
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/compile/internal/gc/reflect.go

index bfa5c59ff0a04870a6a4a181c7cb2823d2f441b8..0bb980e92facb08a9d29a7a2b4d2a365469f0d73 100644 (file)
@@ -762,7 +762,7 @@ func dcommontype(s *Sym, ot int, t *Type) int {
        ot = dsymptr(s, ot, gcsym, 0) // gcdata
 
        p := Tconv(t, obj.FmtLeft|obj.FmtUnsigned)
-       
+
        // If we're writing out type T,
        // we are very likely to write out type *T as well.
        // Use the string "*T"[1:] for "T", so that the two
@@ -770,7 +770,7 @@ func dcommontype(s *Sym, ot int, t *Type) int {
        // amount of space taken up by reflect strings.
        prefix := 0
        if !strings.HasPrefix(p, "*") {
-               p = "*"+p
+               p = "*" + p
                prefix = 1
        }
        _, symdata := stringsym(p) // string