Skip to content

Commit

Permalink
Remove removed TypedHole usage
Browse files Browse the repository at this point in the history
  • Loading branch information
smores56 committed Dec 2, 2024
1 parent 0a82f31 commit 444becd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/compiler/can/src/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down

0 comments on commit 444becd

Please sign in to comment.