]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use %v for Node formatting
authorAlberto Donizetti <alb.donizetti@gmail.com>
Sat, 28 Sep 2019 12:33:10 +0000 (14:33 +0200)
committerMatthew Dempsky <mdempsky@google.com>
Sat, 28 Sep 2019 13:50:34 +0000 (13:50 +0000)
commit2c47caa900cb4aca9ab9e802289fa0671ad843a4
treef0d5182dcb659474f3a1a4f339ba58ed863f63e0
parentc729116332ffb66a21dd587e3ee003cb8d0b16fe
cmd/compile: use %v for Node formatting

CL 197817 replaced a use of n.Rlist with n.Right in a Fprintf call,
but it left the corresponding format as %.v, which broke the
TestFormats test on the longtest builder.

Since with n.Right is custom to use %v (and not %.v), replace the
format with %v.

Fixes the longtest builder.

Change-Id: Icf5bf820a936c51e633c25ada1a71a1ffb6d28c2
Reviewed-on: https://go-review.googlesource.com/c/go/+/197837
Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/fmt.go