mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
Remove removed TypedHole usage
This commit is contained in:
parent
0a82f313c3
commit
444becdb01
1 changed files with 2 additions and 2 deletions
|
@ -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()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue