Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
StunxFS committed Dec 25, 2023
1 parent 8e7a0cd commit ea38392
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/rivet/src/resolver/exprs.ri
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit ea38392

Please sign in to comment.