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
12 files changed
+195 -196

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, tm.ByID(o.AsArg().Name())...)
buf = append(buf, ':')
buf = append(buf, ": "...)
buf = o.AsArg().Value().appendStr(buf, tm, false, depth)
}
buf = append(buf, ')')