From 444becdb01fc33c6f8d735d1fc8d792752370fd9 Mon Sep 17 00:00:00 2001 From: Sam Mohr Date: Sun, 1 Dec 2024 20:11:13 -0800 Subject: [PATCH] Remove removed TypedHole usage --- crates/compiler/can/src/expr.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/compiler/can/src/expr.rs b/crates/compiler/can/src/expr.rs index 2cbcb4f4a87..1c50a2234bc 100644 --- a/crates/compiler/can/src/expr.rs +++ b/crates/compiler/can/src/expr.rs @@ -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()),