1
0
mirror of https://github.com/golang/go synced 2024-11-13 18:50:24 -07:00

cmd/compiler/internal/gc: fix argument for Sprintf

Val.Ctype used to be struct field, it's now a method.

Change-Id: I08f0b32b66dba15b2a392e84a557efb905b530cb
Reviewed-on: https://go-review.googlesource.com/14031
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Robert Griesemer 2015-08-28 15:38:20 -07:00
parent 8acaacb665
commit 68f4f96c1e

View File

@ -356,7 +356,7 @@ func Vconv(v Val, flag int) string {
return "nil"
}
return fmt.Sprintf("<ctype=%d>", v.Ctype)
return fmt.Sprintf("<ctype=%d>", v.Ctype())
}
/*