Skip to content

Commit

Permalink
fix when node
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Apr 9, 2021
1 parent 13549b1 commit 484cd75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ast/NodeChoose.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (it *NodeChoose) Eval(env map[string]interface{}, arg_array *[]interface{},
if e != nil {
return nil, e
}
if r != nil {
if v.Type() == NWhen && r != nil {
return r, nil
}
}
Expand Down

0 comments on commit 484cd75

Please sign in to comment.