Resolver - Removed invalid fix mistakenly committed in 79a0667

This commit is contained in:
Emmanuel BENOîT 2023-01-05 07:13:20 +01:00
parent c90731b62d
commit 754659ed12

View file

@ -121,10 +121,7 @@ trait VarResolver {
impl VarResolver for ast::ProgramNode { impl VarResolver for ast::ProgramNode {
fn resolve(&self, rs: &mut ResolverState) -> ResolverResult { fn resolve(&self, rs: &mut ResolverState) -> ResolverResult {
rs.begin_scope(); self.0.resolve(rs)
let result = self.0.resolve(rs);
rs.end_scope();
result
} }
} }