feat(unify): cannot cast between string and data closes #432

This commit is contained in:
rvcas
2023-03-08 22:47:38 -05:00
parent c85240cbed
commit 41e725152e

View File

@@ -1289,6 +1289,7 @@ impl<'a> Environment<'a> {
&& !(t1.is_unbound() || t2.is_unbound())
&& !(t1.is_function() || t2.is_function())
&& !(t1.is_generic() || t2.is_generic())
&& !(t1.is_string() || t2.is_string())
{
return Ok(());
}