Update crates/aiken-lang/src/tipo/infer.rs

Co-authored-by: Matthias Benkort <5680256+KtorZ@users.noreply.github.com>
This commit is contained in:
Lucas
2023-03-17 09:42:21 -04:00
committed by rvcas
parent bf34324ac0
commit 3d92772d23

View File

@@ -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,
});
}