Commit 68f4f96c authored by Robert Griesemer's avatar Robert Griesemer

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/14031Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 8acaacb6
......@@ -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())
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment