Resolver - Set expressions

This commit is contained in:
Emmanuel BENOîT 2023-01-09 07:02:52 +01:00
parent a52e386e8d
commit 7634354122

View file

@ -353,6 +353,10 @@ impl VarResolver for ExprNode {
arguments, arguments,
} => callee.resolve(rs).and_then(|_| arguments.resolve(rs)), } => callee.resolve(rs).and_then(|_| arguments.resolve(rs)),
ExprNode::Get(get_expr) => get_expr.instance.resolve(rs), ExprNode::Get(get_expr) => get_expr.instance.resolve(rs),
ExprNode::Set(set_expr) => set_expr
.instance
.resolve(rs)
.and_then(|_| set_expr.value.resolve(rs)),
} }
} }
} }