diff --git a/lang/src/son.rs b/lang/src/son.rs index f4670503..9c9417b6 100644 --- a/lang/src/son.rs +++ b/lang/src/son.rs @@ -2137,7 +2137,7 @@ impl<'a> Codegen<'a> { } } - if let Some(body) = else_branch.or(matching_branch) { + if let Some(body) = matching_branch.or(else_branch) { self.expr(&body)?; } } else {