From ea3839222b7cbb94c6e96279aa77ca0dde74f43b Mon Sep 17 00:00:00 2001 From: StunxFS Date: Mon, 25 Dec 2023 10:46:51 -0400 Subject: [PATCH] minor change --- lib/rivet/src/resolver/exprs.ri | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/rivet/src/resolver/exprs.ri b/lib/rivet/src/resolver/exprs.ri index c3e4a885e..9390c9ee6 100644 --- a/lib/rivet/src/resolver/exprs.ri +++ b/lib/rivet/src/resolver/exprs.ri @@ -149,9 +149,7 @@ extend Resolver { self.resolve_expr(index.index); }, .Block(mut block) -> { - for mut stmt in block.stmts { - self.resolve_stmt(stmt); - } + self.resolve_stmts(block.stmts); if block.is_expr { self.resolve_expr(block.expr); }