[refactoring] update ast structure of "Foreach" node
This commit is contained in:
@@ -6431,7 +6431,7 @@ func TestStmtForeach_Alt(t *testing.T) {
|
||||
},
|
||||
},
|
||||
Stmts: []ast.Vertex{
|
||||
&ast.StmtAltForeach{
|
||||
&ast.StmtForeach{
|
||||
Node: ast.Node{
|
||||
Position: &position.Position{
|
||||
StartLine: 1,
|
||||
@@ -6440,6 +6440,7 @@ func TestStmtForeach_Alt(t *testing.T) {
|
||||
EndPos: 35,
|
||||
},
|
||||
},
|
||||
Alt: true,
|
||||
Expr: &ast.ExprVariable{
|
||||
Node: ast.Node{
|
||||
Position: &position.Position{
|
||||
|
||||
Reference in New Issue
Block a user