mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
Make an ast.TypeExpr's ID0 field more consistent
This commit is contained in:
1 parent
90a794c0b8
commit
4ddc2f0055
5 files changed
+11
-11
No files matched your search
+1
-1
@@ -223,7 +223,7 @@ func (n *TypeExpr) appendStr(buf []byte, tm *t.Map, depth uint32) []byte {
|
||||
case t.IDSlice:
|
||||
buf = append(buf, "slice "...)
|
||||
return n.Inner().appendStr(buf, tm, depth)
|
||||
case t.IDOpenParen:
|
||||
case t.IDFunc:
|
||||
buf = append(buf, "func "...)
|
||||
if r := n.Receiver(); r != nil {
|
||||
buf = append(buf, '(')
|
||||
|
||||
Reference in new issue
Block a user