Skip to content

Commit

Permalink
fix a bug in with compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Jun 20, 2024
1 parent 0e0dd8f commit 478d57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compile/modifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ impl Compiler {
});
Signature::new(sig.args.max(1), sig.outputs + 1)
}
By => {
prim if prim == By || prim == With && sig.args <= 1 => {
if sig.args > 0 {
let mut i = 0;
if sig.args > 1 {
Expand Down

0 comments on commit 478d57f

Please sign in to comment.