Skip to content

Commit

Permalink
fix a lint about cascade
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Dec 23, 2023
1 parent 68aa02d commit 413e98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,7 @@ code:
self.compile_operand_words(vec![operands.next().unwrap()])?;
let span = self.add_span(modified.modifier.span.clone());
let count = a_sig.args.saturating_sub(b_sig.outputs);
if count == 0 {
if a_sig.args < b_sig.outputs {
self.emit_diagnostic(
format!(
"{}'s second function has more outputs \
Expand Down

0 comments on commit 413e98e

Please sign in to comment.