fix: when Data cast bypass

This commit is contained in:
rvcas 2023-02-03 21:03:04 -05:00 committed by Lucas
parent a9ed04ef22
commit 2b554d105a
1 changed files with 1 additions and 1 deletions

View File

@ -1210,7 +1210,7 @@ impl<'a> Environment<'a> {
return Ok(());
}
if t1.is_data() || t2.is_data() {
if (t1.is_data() || t2.is_data()) && !(t1.is_unbound() || t2.is_unbound()) {
return Ok(());
}