Skip to content

Commit 648cfce

Browse files
authored
Expand result errors (#996)
1 parent 1b0902a commit 648cfce

File tree

2 files changed

+346
-79
lines changed

2 files changed

+346
-79
lines changed

golem-rib/src/expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ impl Expr {
327327
}
328328

329329
pub fn or(left: Expr, right: Expr) -> Self {
330-
Expr::Or(Box::new(left), Box::new(right), InferredType::Bool).unwrap()
330+
Expr::Or(Box::new(left), Box::new(right), InferredType::Bool)
331331
}
332332

333333
pub fn pattern_match(expr: Expr, match_arms: Vec<MatchArm>) -> Self {

0 commit comments

Comments
 (0)