Skip to content

Commit

Permalink
fix if block no else branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Master-Bw3 committed Jul 25, 2023
1 parent 5e75927 commit e96dee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/if_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub fn compile_if_block(
_ => unreachable!(),
},
None => {
compile_node(&AstNode::Hex(vec![]), heap, depth, pattern_registry, macros)?;
result.append(&mut compile_node(&AstNode::Hex(vec![]), heap, depth, pattern_registry, macros)?);
}
}
//push augur's to buffer
Expand Down

0 comments on commit e96dee9

Please sign in to comment.