Reformat x:y as x: y

This commit is contained in:
Nigel Tao committed 2019-10-12 21:21:39 +11:00
1 parent a9ea63ff06
commit 5b4e3647c0
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ func (n *Expr) appendStr(buf []byte, tm *t.Map, parenthesize bool, depth uint32)
buf = append(buf, ", "...) buf = append(buf, ", "...)
} }
buf = append(buf, tm.ByID(o.AsArg().Name())...) buf = append(buf, tm.ByID(o.AsArg().Name())...)
buf = append(buf, ':') buf = append(buf, ": "...)
buf = o.AsArg().Value().appendStr(buf, tm, false, depth) buf = o.AsArg().Value().appendStr(buf, tm, false, depth)
} }
buf = append(buf, ')') buf = append(buf, ')')
-1
View File
@@ -1185,5 +1185,4 @@ var isTightRight = [...]bool{
IDDot: true, IDDot: true,
IDExclam: true, IDExclam: true,
IDQuestion: true, IDQuestion: true,
IDColon: true,
} }