Resolver - Set expressions
This commit is contained in:
parent
a52e386e8d
commit
7634354122
1 changed files with 4 additions and 0 deletions
|
@ -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)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue