aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ast/clone.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/ast/clone.go')
-rw-r--r--pkg/ast/clone.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/ast/clone.go b/pkg/ast/clone.go
index 54bf8250c..ece4ba594 100644
--- a/pkg/ast/clone.go
+++ b/pkg/ast/clone.go
@@ -89,6 +89,7 @@ func (n *Call) Clone() Node {
NR: n.NR,
Args: cloneFields(n.Args),
Ret: ret,
+ Attrs: cloneTypes(n.Attrs),
}
}