8000 rune: Fix converge check · rune-rs/rune@859e39b · GitHub
[go: up one dir, main page]

Skip to content

Commit 859e39b

Browse files
committed
rune: Fix converge check
1 parent ccffc79 commit 859e39b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rune/src/compile/v1/assemble.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2277,7 +2277,7 @@ fn expr_if<'a, 'hir>(
22772277

22782278
cx.scopes.pop(branch, scope)?;
22792279

2280-
if !asm.converging() && it.peek().is_some() {
2280+
if asm.converging() && it.peek().is_some() {
22812281
cx.asm.jump(&end_label, branch)?;
22822282
}
22832283
}

0 commit comments

Comments
 (0)
0