Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/oxc_linter/src/rules/eslint/no_unused_vars/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ impl NoUnusedVars {

fn should_skip_symbol(symbol: &Symbol<'_, '_>) -> bool {
const AMBIENT_NAMESPACE_FLAGS: SymbolFlags =
SymbolFlags::NameSpaceModule.union(SymbolFlags::Ambient);
SymbolFlags::NamespaceModule.union(SymbolFlags::Ambient);
let flags = symbol.flags();

// 1. ignore enum members. Only enums get checked
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl<'a> Symbol<'_, 'a> {
SymbolFlags::TypeAlias.union(SymbolFlags::TypeParameter).union(SymbolFlags::Interface);
const ENUM: SymbolFlags = SymbolFlags::Enum.union(SymbolFlags::EnumMember);
const NAMESPACE_LIKE: SymbolFlags =
SymbolFlags::NameSpaceModule.union(SymbolFlags::ValueModule);
SymbolFlags::NamespaceModule.union(SymbolFlags::ValueModule);

!self.flags().intersects(
IMPORT.union(TYPE).union(ENUM).union(NAMESPACE_LIKE).union(SymbolFlags::CatchVariable),
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_semantic/src/binder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ impl<'a> Binder<'a> for TSModuleDeclaration<'a> {
let (mut includes, excludes) = if instantiated {
(SymbolFlags::ValueModule, SymbolFlags::ValueModuleExcludes)
} else {
(SymbolFlags::NameSpaceModule, SymbolFlags::NamespaceModuleExcludes)
(SymbolFlags::NamespaceModule, SymbolFlags::NamespaceModuleExcludes)
};

if self.declare {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/ts-module/decla
"node": "Program",
"symbols": [
{
"flags": "SymbolFlags(BlockScopedVariable | ConstVariable | NameSpaceModule)",
"flags": "SymbolFlags(BlockScopedVariable | ConstVariable | NamespaceModule)",
"id": 0,
"name": "Foo",
"node": "TSModuleDeclaration(Foo)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/type-declaratio
"references": []
},
{
"flags": "SymbolFlags(NameSpaceModule)",
"flags": "SymbolFlags(NamespaceModule)",
"id": 1,
"name": "Member",
"node": "TSModuleDeclaration(Member)",
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_semantic/tests/integration/symbols.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ fn test_module_like_declarations() {

SemanticTester::ts("module A { export type x = 1; }")
.has_root_symbol("A")
.contains_flags(SymbolFlags::NameSpaceModule)
.contains_flags(SymbolFlags::NamespaceModule)
.test();

let test = SemanticTester::ts("declare global { interface Window { x: number; } }");
Expand Down
10 changes: 6 additions & 4 deletions crates/oxc_syntax/src/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ bitflags! {
const ConstEnum = 1 << 11;
const EnumMember = 1 << 12;
const TypeParameter = 1 << 13;
const NameSpaceModule = 1 << 14;
/// Uninstantiated module
const NamespaceModule = 1 << 14;
/// Instantiated module
const ValueModule = 1 << 15;
/// Declared with `declare` modifier, like `declare function x() {}`.
//
Expand Down Expand Up @@ -256,8 +258,8 @@ impl SymbolFlags {
}

#[inline]
pub fn is_namespace(&self) -> bool {
self.contains(Self::NameSpaceModule)
pub fn is_namespace_module(&self) -> bool {
self.contains(Self::NamespaceModule)
}

#[inline]
Expand All @@ -268,7 +270,7 @@ impl SymbolFlags {
/// If true, then the symbol can be referenced by a type reference
#[inline]
pub fn can_be_referenced_by_type(&self) -> bool {
self.intersects(Self::Type | Self::TypeImport | Self::Import | Self::NameSpaceModule)
self.intersects(Self::Type | Self::TypeImport | Self::Import | Self::NamespaceModule)
}

/// If true, then the symbol can be referenced by a value reference
Expand Down
4 changes: 2 additions & 2 deletions crates/oxc_transformer/src/typescript/namespace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ impl<'a> TypeScriptNamespace<'a, '_> {
let flags = ctx.scoping().symbol_flags(symbol_id);

// If it's a namespace, we need additional checks to determine if it can return early.
if flags.is_namespace() {
if flags.is_namespace_module() {
// Don't need further check because NO `ValueModule` namespace redeclaration
if !flags.is_value_module() {
return;
Expand Down Expand Up @@ -149,7 +149,7 @@ impl<'a> TypeScriptNamespace<'a, '_> {
.flags;

// Return if the current declaration is a namespace
if current_declaration_flags.is_namespace() {
if current_declaration_flags.is_namespace_module() {
return;
}
}
Expand Down
62 changes: 31 additions & 31 deletions tasks/coverage/snapshots/semantic_typescript.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(3)]
rebuilt : ScopeId(0): [ScopeId(1)]
Symbol flags mismatch for "c5":
after transform: SymbolId(1): SymbolFlags(Class | NameSpaceModule)
after transform: SymbolId(1): SymbolFlags(Class | NamespaceModule)
rebuilt : SymbolId(1): SymbolFlags(Class)
Symbol redeclarations mismatch for "c5":
after transform: SymbolId(1): [Span { start: 24, end: 26 }, Span { start: 55, end: 57 }]
Expand Down Expand Up @@ -2400,7 +2400,7 @@ Scope flags mismatch:
after transform: ScopeId(5): ScopeFlags(StrictMode | Function)
rebuilt : ScopeId(2): ScopeFlags(Function)
Symbol flags mismatch for "Moclodule":
after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule | ValueModule)
after transform: SymbolId(0): SymbolFlags(Class | NamespaceModule | ValueModule)
rebuilt : SymbolId(0): SymbolFlags(Class)
Symbol span mismatch for "Moclodule":
after transform: SymbolId(0): Span { start: 47, end: 56 }
Expand Down Expand Up @@ -6376,7 +6376,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(6)]
rebuilt : ScopeId(0): []
Symbol flags mismatch for "m2":
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | NamespaceModule)
rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable)
Symbol span mismatch for "m2":
after transform: SymbolId(0): Span { start: 7, end: 9 }
Expand Down Expand Up @@ -6438,7 +6438,7 @@ Scope flags mismatch:
after transform: ScopeId(6): ScopeFlags(StrictMode | Function)
rebuilt : ScopeId(3): ScopeFlags(Function)
Symbol flags mismatch for "A":
after transform: SymbolId(0): SymbolFlags(NameSpaceModule | ValueModule)
after transform: SymbolId(0): SymbolFlags(NamespaceModule | ValueModule)
rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable)
Symbol span mismatch for "A":
after transform: SymbolId(0): Span { start: 7, end: 8 }
Expand Down Expand Up @@ -6978,7 +6978,7 @@ Scope children mismatch:
after transform: ScopeId(8): [ScopeId(9), ScopeId(10)]
rebuilt : ScopeId(4): [ScopeId(5)]
Symbol flags mismatch for "X":
after transform: SymbolId(0): SymbolFlags(NameSpaceModule | ValueModule)
after transform: SymbolId(0): SymbolFlags(NamespaceModule | ValueModule)
rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable)
Symbol span mismatch for "X":
after transform: SymbolId(0): Span { start: 7, end: 8 }
Expand Down Expand Up @@ -7025,7 +7025,7 @@ Scope flags mismatch:
after transform: ScopeId(8): ScopeFlags(StrictMode | Function)
rebuilt : ScopeId(4): ScopeFlags(Function)
Symbol flags mismatch for "X":
after transform: SymbolId(0): SymbolFlags(NameSpaceModule | ValueModule)
after transform: SymbolId(0): SymbolFlags(NamespaceModule | ValueModule)
rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable)
Symbol span mismatch for "X":
after transform: SymbolId(0): Span { start: 7, end: 8 }
Expand Down Expand Up @@ -7072,7 +7072,7 @@ Scope flags mismatch:
after transform: ScopeId(8): ScopeFlags(StrictMode | Function)
rebuilt : ScopeId(4): ScopeFlags(Function)
Symbol flags mismatch for "X":
after transform: SymbolId(0): SymbolFlags(NameSpaceModule | ValueModule)
after transform: SymbolId(0): SymbolFlags(NamespaceModule | ValueModule)
rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable)
Symbol span mismatch for "X":
after transform: SymbolId(0): Span { start: 7, end: 8 }
Expand Down Expand Up @@ -7766,7 +7766,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(3), ScopeId(4), ScopeId(5), ScopeId(6)]
rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3)]
Symbol flags mismatch for "A":
after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule | Ambient)
after transform: SymbolId(0): SymbolFlags(Class | NamespaceModule | Ambient)
rebuilt : SymbolId(2): SymbolFlags(Class)
Symbol span mismatch for "A":
after transform: SymbolId(0): Span { start: 25, end: 26 }
Expand All @@ -7775,7 +7775,7 @@ Symbol redeclarations mismatch for "A":
after transform: SymbolId(0): [Span { start: 25, end: 26 }, Span { start: 78, end: 79 }]
rebuilt : SymbolId(2): []
Symbol flags mismatch for "Y":
after transform: SymbolId(3): SymbolFlags(Class | NameSpaceModule | Ambient)
after transform: SymbolId(3): SymbolFlags(Class | NamespaceModule | Ambient)
rebuilt : SymbolId(3): SymbolFlags(Class)
Symbol span mismatch for "Y":
after transform: SymbolId(3): Span { start: 128, end: 129 }
Expand Down Expand Up @@ -7948,7 +7948,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(2)]
rebuilt : ScopeId(0): [ScopeId(1)]
Symbol flags mismatch for "ExpandoMerge":
after transform: SymbolId(0): SymbolFlags(Function | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(Function | NamespaceModule)
rebuilt : SymbolId(0): SymbolFlags(Function)
Symbol redeclarations mismatch for "ExpandoMerge":
after transform: SymbolId(0): [Span { start: 19, end: 31 }, Span { start: 71, end: 83 }]
Expand Down Expand Up @@ -8384,7 +8384,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(6)]
rebuilt : ScopeId(0): []
Symbol flags mismatch for "m2":
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | NamespaceModule)
rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable)
Symbol span mismatch for "m2":
after transform: SymbolId(0): Span { start: 7, end: 9 }
Expand Down Expand Up @@ -8490,7 +8490,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(6)]
rebuilt : ScopeId(0): []
Symbol flags mismatch for "m2":
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | NamespaceModule)
rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable)
Symbol span mismatch for "m2":
after transform: SymbolId(0): Span { start: 7, end: 9 }
Expand All @@ -8507,7 +8507,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(6)]
rebuilt : ScopeId(0): []
Symbol flags mismatch for "m2":
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | NamespaceModule)
rebuilt : SymbolId(1): SymbolFlags(FunctionScopedVariable)
Symbol span mismatch for "m2":
after transform: SymbolId(0): Span { start: 7, end: 9 }
Expand Down Expand Up @@ -12425,7 +12425,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(3)]
rebuilt : ScopeId(0): [ScopeId(1)]
Symbol flags mismatch for "A":
after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(Class | NamespaceModule)
rebuilt : SymbolId(0): SymbolFlags(Class)
Symbol reference IDs mismatch for "A":
after transform: SymbolId(0): [ReferenceId(0), ReferenceId(2)]
Expand Down Expand Up @@ -13012,7 +13012,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(2)]
rebuilt : ScopeId(0): [ScopeId(1)]
Symbol flags mismatch for "Foo":
after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(Class | NamespaceModule)
rebuilt : SymbolId(1): SymbolFlags(Class)
Symbol reference IDs mismatch for "Foo":
after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1)]
Expand Down Expand Up @@ -13204,7 +13204,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(2)]
rebuilt : ScopeId(0): [ScopeId(1)]
Symbol flags mismatch for "C":
after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(Class | NamespaceModule)
rebuilt : SymbolId(1): SymbolFlags(Class)
Symbol redeclarations mismatch for "C":
after transform: SymbolId(0): [Span { start: 83, end: 84 }, Span { start: 121, end: 122 }]
Expand All @@ -13226,7 +13226,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(3)]
rebuilt : ScopeId(0): []
Symbol flags mismatch for "server":
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | Interface | NameSpaceModule | Ambient)
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | Interface | NamespaceModule | Ambient)
rebuilt : SymbolId(1): SymbolFlags(FunctionScopedVariable)
Symbol span mismatch for "server":
after transform: SymbolId(0): Span { start: 15, end: 21 }
Expand Down Expand Up @@ -13268,7 +13268,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(2)]
rebuilt : ScopeId(0): [ScopeId(1)]
Symbol flags mismatch for "C":
after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(Class | NamespaceModule)
rebuilt : SymbolId(1): SymbolFlags(Class)
Symbol redeclarations mismatch for "C":
after transform: SymbolId(0): [Span { start: 78, end: 79 }, Span { start: 116, end: 117 }]
Expand Down Expand Up @@ -14933,7 +14933,7 @@ Scope flags mismatch:
after transform: ScopeId(10): ScopeFlags(StrictMode | Function)
rebuilt : ScopeId(6): ScopeFlags(Function)
Symbol flags mismatch for "EndGate":
after transform: SymbolId(0): SymbolFlags(NameSpaceModule | ValueModule | Ambient)
after transform: SymbolId(0): SymbolFlags(NamespaceModule | ValueModule | Ambient)
rebuilt : SymbolId(1): SymbolFlags(BlockScopedVariable)
Symbol span mismatch for "EndGate":
after transform: SymbolId(0): Span { start: 15, end: 22 }
Expand Down Expand Up @@ -14977,7 +14977,7 @@ Scope flags mismatch:
after transform: ScopeId(10): ScopeFlags(StrictMode | Function)
rebuilt : ScopeId(6): ScopeFlags(Function)
Symbol flags mismatch for "EndGate":
after transform: SymbolId(0): SymbolFlags(NameSpaceModule | ValueModule)
after transform: SymbolId(0): SymbolFlags(NamespaceModule | ValueModule)
rebuilt : SymbolId(1): SymbolFlags(BlockScopedVariable)
Symbol span mismatch for "EndGate":
after transform: SymbolId(0): Span { start: 7, end: 14 }
Expand Down Expand Up @@ -17984,7 +17984,7 @@ Scope children mismatch:
after transform: ScopeId(2): [ScopeId(3), ScopeId(4)]
rebuilt : ScopeId(1): [ScopeId(2)]
Symbol flags mismatch for "m":
after transform: SymbolId(0): SymbolFlags(NameSpaceModule | ValueModule)
after transform: SymbolId(0): SymbolFlags(NamespaceModule | ValueModule)
rebuilt : SymbolId(1): SymbolFlags(BlockScopedVariable)
Symbol span mismatch for "m":
after transform: SymbolId(0): Span { start: 7, end: 8 }
Expand Down Expand Up @@ -18277,7 +18277,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(4)]
rebuilt : ScopeId(0): [ScopeId(1)]
Symbol flags mismatch for "A":
after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(Class | NamespaceModule)
rebuilt : SymbolId(1): SymbolFlags(Class)
Symbol reference IDs mismatch for "A":
after transform: SymbolId(0): [ReferenceId(0)]
Expand Down Expand Up @@ -19074,7 +19074,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(3), ScopeId(6)]
rebuilt : ScopeId(0): [ScopeId(1), ScopeId(3)]
Symbol flags mismatch for "X":
after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(Class | NamespaceModule)
rebuilt : SymbolId(1): SymbolFlags(Class)
Symbol redeclarations mismatch for "X":
after transform: SymbolId(0): [Span { start: 13, end: 14 }, Span { start: 106, end: 107 }]
Expand Down Expand Up @@ -20806,7 +20806,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(2)]
rebuilt : ScopeId(0): [ScopeId(1)]
Symbol flags mismatch for "A":
after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(Class | NamespaceModule)
rebuilt : SymbolId(0): SymbolFlags(Class)
Symbol redeclarations mismatch for "A":
after transform: SymbolId(0): [Span { start: 6, end: 7 }, Span { start: 19, end: 20 }]
Expand Down Expand Up @@ -23908,7 +23908,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(3)]
rebuilt : ScopeId(0): []
Symbol flags mismatch for "Foo":
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | Interface | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | Interface | NamespaceModule)
rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable)
Symbol span mismatch for "Foo":
after transform: SymbolId(0): Span { start: 7, end: 10 }
Expand Down Expand Up @@ -26562,7 +26562,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1)]
rebuilt : ScopeId(0): []
Symbol flags mismatch for "foo":
after transform: SymbolId(0): SymbolFlags(BlockScopedVariable | NameSpaceModule | Ambient)
after transform: SymbolId(0): SymbolFlags(BlockScopedVariable | NamespaceModule | Ambient)
rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable)
Symbol span mismatch for "foo":
after transform: SymbolId(0): Span { start: 15, end: 18 }
Expand All @@ -26584,7 +26584,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1)]
rebuilt : ScopeId(0): []
Symbol flags mismatch for "myAssert":
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | NameSpaceModule)
after transform: SymbolId(0): SymbolFlags(FunctionScopedVariable | NamespaceModule)
rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable)
Symbol span mismatch for "myAssert":
after transform: SymbolId(0): Span { start: 44, end: 52 }
Expand Down Expand Up @@ -29648,7 +29648,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(2)]
rebuilt : ScopeId(0): [ScopeId(1)]
Symbol flags mismatch for "M":
after transform: SymbolId(0): SymbolFlags(NameSpaceModule | ValueModule)
after transform: SymbolId(0): SymbolFlags(NamespaceModule | ValueModule)
rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable)
Symbol span mismatch for "M":
after transform: SymbolId(0): Span { start: 49, end: 50 }
Expand Down Expand Up @@ -30203,7 +30203,7 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), ScopeId(4), ScopeId(7)]
rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2)]
Symbol flags mismatch for "createElement":
after transform: SymbolId(2): SymbolFlags(Function | NameSpaceModule)
after transform: SymbolId(2): SymbolFlags(Function | NamespaceModule)
rebuilt : SymbolId(1): SymbolFlags(Function)
Symbol redeclarations mismatch for "createElement":
after transform: SymbolId(2): [Span { start: 125, end: 138 }, Span { start: 243, end: 256 }]
Expand Down Expand Up @@ -44266,7 +44266,7 @@ Symbol redeclarations mismatch for "E":
after transform: SymbolId(2): [Span { start: 80, end: 81 }, Span { start: 109, end: 110 }, Span { start: 143, end: 144 }, Span { start: 191, end: 192 }]
rebuilt : SymbolId(3): []
Symbol flags mismatch for "N":
after transform: SymbolId(7): SymbolFlags(NameSpaceModule | ValueModule)
after transform: SymbolId(7): SymbolFlags(NamespaceModule | ValueModule)
rebuilt : SymbolId(10): SymbolFlags(BlockScopedVariable)
Symbol span mismatch for "N":
after transform: SymbolId(7): Span { start: 239, end: 240 }
Expand Down Expand Up @@ -44407,7 +44407,7 @@ Symbol redeclarations mismatch for "E":
after transform: SymbolId(2): [Span { start: 80, end: 81 }, Span { start: 109, end: 110 }, Span { start: 143, end: 144 }, Span { start: 191, end: 192 }]
rebuilt : SymbolId(3): []
Symbol flags mismatch for "N":
after transform: SymbolId(7): SymbolFlags(NameSpaceModule | ValueModule)
after transform: SymbolId(7): SymbolFlags(NamespaceModule | ValueModule)
rebuilt : SymbolId(10): SymbolFlags(BlockScopedVariable)
Symbol span mismatch for "N":
after transform: SymbolId(7): Span { start: 239, end: 240 }
Expand Down
Loading
Loading