making the else branch have less priority

Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
This commit is contained in:
Jakub Doka 2024-12-17 19:10:56 +01:00
parent d3f3fe98e3
commit 248bdf003a
No known key found for this signature in database
GPG key ID: C6E9A89936B8C143

View file

@ -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)?; self.expr(&body)?;
} }
} else { } else {