mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +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::EmptyRecord
|
||||||
| Self::RecordAccessor(_)
|
| Self::RecordAccessor(_)
|
||||||
| Self::ZeroArgumentTag { .. }
|
| Self::ZeroArgumentTag { .. }
|
||||||
| Self::OpaqueWrapFunction(_) => false,
|
| Self::OpaqueWrapFunction(_)
|
||||||
|
| Self::RuntimeError(..) => false,
|
||||||
Self::Return { .. } => true,
|
Self::Return { .. } => true,
|
||||||
Self::TypedHole(_) | Self::RuntimeError(..) => false,
|
|
||||||
Self::List { loc_elems, .. } => loc_elems
|
Self::List { loc_elems, .. } => loc_elems
|
||||||
.iter()
|
.iter()
|
||||||
.any(|elem| elem.value.contains_any_early_returns()),
|
.any(|elem| elem.value.contains_any_early_returns()),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue