chore: leave a comment for later

This commit is contained in:
rvcas
2023-02-04 15:33:18 -05:00
parent 4c8221e439
commit ddad05bf51

View File

@@ -1216,6 +1216,7 @@ impl<'a> Environment<'a> {
return Ok(());
}
// TODO: maybe we also care to check is_link?
if allow_cast
&& (t1.is_data() || t2.is_data())
&& !(t1.is_unbound() || t2.is_unbound())