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
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 1 additions and 0 deletions

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(());
}