can::Expr::ParamsVar for lookups with params

This commit is contained in:
Agus Zubiaga 2024-05-09 23:58:05 -03:00
parent 5aebb7b570
commit 1526fc4aee
No known key found for this signature in database
7 changed files with 67 additions and 5 deletions

View file

@ -266,6 +266,7 @@ pub fn walk_expr<V: Visitor>(visitor: &mut V, expr: &Expr, var: Variable) {
walk_list(visitor, *elem_var, loc_elems);
}
Expr::Var(..) => { /* terminal */ }
Expr::ParamsVar { .. } => { /* terminal */ }
Expr::AbilityMember(..) => { /* terminal */ }
Expr::If {
cond_var,