mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: implement fmt.Formatter for *Node formats %s, %v
Change-Id: I80ed668cdeab0c4342b734d34b429927e0213e5a Reviewed-on: https://go-review.googlesource.com/28335 Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
a0d2010208
commit
ff046d2e28
29 changed files with 129 additions and 137 deletions
|
|
@ -1386,7 +1386,7 @@ func defaultlitreuse(n *Node, t *Type, reuse canReuseNode) *Node {
|
|||
Yyerror("defaultlit: unknown literal: %v", n)
|
||||
|
||||
case CTxxx:
|
||||
Fatalf("defaultlit: idealkind is CTxxx: %v", Nconv(n, FmtSign))
|
||||
Fatalf("defaultlit: idealkind is CTxxx: %+v", n)
|
||||
|
||||
case CTBOOL:
|
||||
t1 := Types[TBOOL]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue