diff --git a/lang/src/son.rs b/lang/src/son.rs index f467050..9c9417b 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 {