mirror of
https://github.com/golang/go
synced 2024-11-12 09:30:25 -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:
parent
8acaacb665
commit
68f4f96c1e
@ -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())
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user