forked from AbleOS/holey-bytes
making the else branch have less priority
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
This commit is contained in:
parent
d3f3fe98e3
commit
248bdf003a
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue