Resolver - Handle the "this" keyword
This commit is contained in:
parent
1f4aecd099
commit
ea4717c8bd
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ impl VarResolver for ExprNode {
|
|||
'a: 'b,
|
||||
{
|
||||
match self {
|
||||
ExprNode::Variable(var_expr) => rs.resolve_use(var_expr),
|
||||
ExprNode::Variable(var_expr) | ExprNode::This(var_expr) => rs.resolve_use(var_expr),
|
||||
|
||||
ExprNode::Assignment { name, value, id } => {
|
||||
value.resolve(rs)?;
|
||||
|
|
Loading…
Reference in a new issue