mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
fix(semantic): remove unnecessary SymbolFlags::Import (#2311)
This commit is contained in:
parent
ad64e0b395
commit
540b2a0396
2 changed files with 1 additions and 3 deletions
|
|
@ -278,7 +278,7 @@ fn declare_symbol_for_import_specifier(ident: &BindingIdentifier, builder: &mut
|
|||
let symbol_id = builder.declare_symbol(
|
||||
ident.span,
|
||||
&ident.name,
|
||||
SymbolFlags::Import | SymbolFlags::ImportBinding,
|
||||
SymbolFlags::ImportBinding,
|
||||
SymbolFlags::ImportBindingExcludes,
|
||||
);
|
||||
ident.symbol_id.set(Some(symbol_id));
|
||||
|
|
|
|||
|
|
@ -29,8 +29,6 @@ bitflags! {
|
|||
const BlockScopedVariable = 1 << 1;
|
||||
/// A const variable (const)
|
||||
const ConstVariable = 1 << 2;
|
||||
/// Is this symbol inside an import declaration
|
||||
const Import = 1 << 3;
|
||||
/// Is this symbol inside an export declaration
|
||||
const Export = 1 << 4;
|
||||
const Class = 1 << 5;
|
||||
|
|
|
|||
Loading…
Reference in a new issue