diff --git a/crates/dash_compiler/src/lib.rs b/crates/dash_compiler/src/lib.rs index fa225ba2..2a3c52ee 100644 --- a/crates/dash_compiler/src/lib.rs +++ b/crates/dash_compiler/src/lib.rs @@ -159,13 +159,6 @@ impl FunctionLocalState { } } - pub fn is_generator_or_async(&self) -> bool { - matches!( - self.ty, - FunctionKind::Function(Asyncness::Yes) | FunctionKind::Generator - ) - } - fn enclosing_finally(&self) -> Option