Skip to content

Commit 34e3b1b

Browse files
committed
fix: correct return signal for if function
1 parent e749ce4 commit 34e3b1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/core/src/runtime/functions/control.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ fn r#if(
6262
ctx.push_runtime_trace_label("branch=if".to_string());
6363
run(*if_pointer, ctx)
6464
} else {
65-
Signal::Return(Value {
65+
Signal::Success(Value {
6666
kind: Some(Kind::NullValue(0)),
6767
})
6868
}

0 commit comments

Comments
 (0)