Update crates/aiken-lang/src/tipo/infer.rs
Co-authored-by: Matthias Benkort <5680256+KtorZ@users.noreply.github.com>
This commit is contained in:
parent
bf34324ac0
commit
3d92772d23
|
@ -312,8 +312,8 @@ fn infer_definition(
|
||||||
|| other_typed_fun.arguments.len() > 3
|
|| other_typed_fun.arguments.len() > 3
|
||||||
{
|
{
|
||||||
return Err(Error::IncorrectValidatorArity {
|
return Err(Error::IncorrectValidatorArity {
|
||||||
count: typed_fun.arguments.len() as u32,
|
count: other_typed_fun.arguments.len() as u32,
|
||||||
location: typed_fun.location,
|
location: other_typed_fun.location,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue