From 84b75a0e5f29ddcecf67c18babc5574a75606f8b Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Mon, 16 Dec 2024 12:15:12 +0000 Subject: [PATCH] refactor(semantic)!: remove `ScopeFlags::Modifiers` (#7935) #7932 removed the only usage of `ScopeFlags::Modifiers`. So we don't need it any more. Remove it. --- crates/oxc_syntax/src/scope.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/oxc_syntax/src/scope.rs b/crates/oxc_syntax/src/scope.rs index f293637df0204..442f26011b3e5 100644 --- a/crates/oxc_syntax/src/scope.rs +++ b/crates/oxc_syntax/src/scope.rs @@ -74,7 +74,6 @@ bitflags! { const SetAccessor = 1 << 8; const CatchClause = 1 << 9; const Var = Self::Top.bits() | Self::Function.bits() | Self::ClassStaticBlock.bits() | Self::TsModuleBlock.bits(); - const Modifiers = Self::Constructor.bits() | Self::GetAccessor.bits() | Self::SetAccessor.bits(); } }