Rename the implicit in variable to args

This commit is contained in:
Nigel Tao committed 2018-07-29 10:26:22 +10:00
1 parent 58ded30954
commit ca06083f8a
19 files changed
+254 -252

No files matched your search

+1 -1
View File
@@ -190,7 +190,7 @@ func (g *gen) writeExprOther(b *buffer, n *a.Expr, rp replacementPolicy, depth u
case t.IDDot:
lhs := n.LHS().AsExpr()
if lhs.Ident() == t.IDIn {
if lhs.Ident() == t.IDArgs {
b.writes(aPrefix)
b.writes(n.Ident().Str(g.tm))
return nil