Skip to content

Commit

Permalink
Update crates/aiken-lang/src/tipo/infer.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Benkort <5680256+KtorZ@users.noreply.github.com>
  • Loading branch information
rvcas and KtorZ committed Mar 17, 2023
1 parent bf34324 commit 3d92772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/aiken-lang/src/tipo/infer.rs
Expand Up @@ -312,8 +312,8 @@ fn infer_definition(
|| other_typed_fun.arguments.len() > 3
{
return Err(Error::IncorrectValidatorArity {
count: typed_fun.arguments.len() as u32,
location: typed_fun.location,
count: other_typed_fun.arguments.len() as u32,
location: other_typed_fun.location,
});
}

Expand Down

0 comments on commit 3d92772

Please sign in to comment.