Remove removed TypedHole usage

This commit is contained in:
Sam Mohr 2024-12-01 20:11:13 -08:00
parent 0a82f313c3
commit 444becdb01
No known key found for this signature in database
GPG key ID: EA41D161A3C1BC99

View file

@ -427,9 +427,9 @@ impl Expr {
| Self::EmptyRecord
| Self::RecordAccessor(_)
| Self::ZeroArgumentTag { .. }
| Self::OpaqueWrapFunction(_) => false,
| Self::OpaqueWrapFunction(_)
| Self::RuntimeError(..) => false,
Self::Return { .. } => true,
Self::TypedHole(_) | Self::RuntimeError(..) => false,
Self::List { loc_elems, .. } => loc_elems
.iter()
.any(|elem| elem.value.contains_any_early_returns()),