Skip to content

Commit

Permalink
Fix or
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Aug 4, 2024
1 parent 0620a25 commit 5d90105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rue-compiler/src/compiler/expr/binary_expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ impl Compiler<'_> {
}

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

let rhs = rhs
Expand Down

0 comments on commit 5d90105

Please sign in to comment.