This reverts commit 4aee85e4ce.
This commit is contained in:
@@ -263,13 +263,6 @@ func copyAST(original ast.Node) ast.Node {
|
||||
Index: exprFromMap(m, node.Index),
|
||||
Rbrack: node.Rbrack,
|
||||
}
|
||||
case *ast.IndexListExpr:
|
||||
m[node] = &ast.IndexListExpr{
|
||||
X: exprFromMap(m, node.X),
|
||||
Lbrack: node.Lbrack,
|
||||
Indices: copyExprList(m, node.Indices),
|
||||
Rbrack: node.Rbrack,
|
||||
}
|
||||
case *ast.InterfaceType:
|
||||
m[node] = &ast.InterfaceType{
|
||||
Interface: node.Interface,
|
||||
|
||||
Reference in New Issue
Block a user