From 7634354122047db287e8e63d85adc3fc5e296479 Mon Sep 17 00:00:00 2001 From: Emmanuel Benoit Date: Mon, 9 Jan 2023 07:02:52 +0100 Subject: [PATCH] Resolver - Set expressions --- src/resolver.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/resolver.rs b/src/resolver.rs index bd845c0..4b088bc 100644 --- a/src/resolver.rs +++ b/src/resolver.rs @@ -353,6 +353,10 @@ impl VarResolver for ExprNode { arguments, } => callee.resolve(rs).and_then(|_| arguments.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)), } } }