Skip to content

Commit 5d90105

Browse files
committedAug 4, 2024··
Fix or
1 parent 0620a25 commit 5d90105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎crates/rue-compiler/src/compiler/expr/binary_expr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ impl Compiler<'_> {
282282
}
283283

284284
fn op_or(&mut self, lhs: &Value, rhs: Option<&Expr>, text_range: TextRange) -> Value {
285-
let overrides = self.build_overrides(lhs.then_guards());
285+
let overrides = self.build_overrides(lhs.else_guards());
286286
self.type_overrides.push(overrides);
287287

288288
let rhs = rhs

0 commit comments

Comments
 (0)
Please sign in to comment.