mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Add via keyword and named args.
This commit is contained in:
1 parent
9719fab535
commit
06eaadb1d6
7 files changed
+86
-27
No files matched your search
+3
-1
@@ -41,7 +41,9 @@ func (n *Expr) appendString(buf []byte, m *t.IDMap, parenthesize bool, depth uin
|
||||
if i != 0 {
|
||||
buf = append(buf, ", "...)
|
||||
}
|
||||
buf = o.Expr().appendString(buf, m, false, depth)
|
||||
buf = append(buf, m.ByID(o.Arg().Name())...)
|
||||
buf = append(buf, ':')
|
||||
buf = o.Arg().Value().appendString(buf, m, false, depth)
|
||||
}
|
||||
buf = append(buf, ')')
|
||||
|
||||
|
||||
Reference in new issue
Block a user