forked from M-Labs/nac3
1
0
Fork 0

core: Fix typo in error message

This commit is contained in:
David Mak 2024-02-14 16:18:11 +08:00
parent 5cecb2bb74
commit 282a3e1911
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ impl<'a> Inferencer<'a> {
if !self.check_return_value_ty(ret_ty) {
return Err(HashSet::from([
format!(
"return value of type {} must be a primitive of a tuple of primitives at {}",
"return value of type {} must be a primitive or a tuple of primitives at {}",
self.unifier.stringify(ret_ty),
value.location,
),