From 754659ed12c464c3f63d84a161f8569838e194e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Thu, 5 Jan 2023 07:13:20 +0100 Subject: [PATCH] Resolver - Removed invalid fix mistakenly committed in 79a0667 --- src/resolver.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/resolver.rs b/src/resolver.rs index 036c5dd..6ceb280 100644 --- a/src/resolver.rs +++ b/src/resolver.rs @@ -121,10 +121,7 @@ trait VarResolver { impl VarResolver for ast::ProgramNode { fn resolve(&self, rs: &mut ResolverState) -> ResolverResult { - rs.begin_scope(); - let result = self.0.resolve(rs); - rs.end_scope(); - result + self.0.resolve(rs) } }