core/fix: stringify type in expected concrete type error
This commit is contained in:
parent
efefa13b7e
commit
cc4c2593f7
|
@ -80,7 +80,7 @@ impl<'a> Inferencer<'a> {
|
||||||
return Err(HashSet::from([format!(
|
return Err(HashSet::from([format!(
|
||||||
"expected concrete type at {} but got {}",
|
"expected concrete type at {} but got {}",
|
||||||
expr.location,
|
expr.location,
|
||||||
self.unifier.get_ty(*ty).get_type_name()
|
self.unifier.stringify(*ty)
|
||||||
)]));
|
)]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue