diff --git a/crates/oxc_semantic/src/post_transform_checker.rs b/crates/oxc_semantic/src/post_transform_checker.rs index 8965282a0..0dc31238e 100644 --- a/crates/oxc_semantic/src/post_transform_checker.rs +++ b/crates/oxc_semantic/src/post_transform_checker.rs @@ -96,9 +96,9 @@ use rustc_hash::FxHasher; use oxc_allocator::{Allocator, CloneIn}; #[allow(clippy::wildcard_imports)] -use oxc_ast::{ast::*, ast_kind::AstKind, visit::walk, Visit}; +use oxc_ast::{ast::*, visit::walk, Visit}; use oxc_diagnostics::OxcDiagnostic; -use oxc_span::{CompactStr, GetSpan}; +use oxc_span::CompactStr; use oxc_syntax::{ reference::ReferenceId, scope::{ScopeFlags, ScopeId}, @@ -271,10 +271,6 @@ impl Errors { self.0.push(OxcDiagnostic::error(message.as_ref().trim().to_string())); } - fn push_with_label>(&mut self, message: S, span: Span) { - self.0.push(OxcDiagnostic::error(message.into()).with_label(span)); - } - /// Add an error for a mismatch between a pair of values, with IDs fn push_mismatch(&mut self, title: &str, ids: Ids, values: Values) where @@ -556,24 +552,23 @@ impl<'s> PostTransformChecker<'s> { /// Collector of `ScopeId`s, `SymbolId`s and `ReferenceId`s from an AST. /// /// `scope_ids`, `symbol_ids` and `reference_ids` lists are filled in visitation order. -struct SemanticIdsCollector<'a, 'e> { +struct SemanticIdsCollector<'e> { scope_ids: Vec>, symbol_ids: Vec>, reference_ids: Vec>, - kinds: Vec>, errors: &'e mut Errors, } -impl<'a, 'e> SemanticIdsCollector<'a, 'e> { +impl<'e> SemanticIdsCollector<'e> { fn new(errors: &'e mut Errors) -> Self { - Self { scope_ids: vec![], symbol_ids: vec![], reference_ids: vec![], kinds: vec![], errors } + Self { scope_ids: vec![], symbol_ids: vec![], reference_ids: vec![], errors } } /// Collect IDs and check for errors #[allow(clippy::type_complexity)] fn collect( mut self, - program: &Program<'a>, + program: &Program<'_>, ) -> (Vec>, Vec>, Vec>) { if !program.source_type.is_typescript_definition() { self.visit_program(program); @@ -582,20 +577,12 @@ impl<'a, 'e> SemanticIdsCollector<'a, 'e> { } } -impl<'a, 'e> Visit<'a> for SemanticIdsCollector<'a, 'e> { - fn enter_node(&mut self, kind: AstKind<'a>) { - self.kinds.push(kind); - } - - fn leave_node(&mut self, _kind: AstKind<'a>) { - self.kinds.pop(); - } - +impl<'a, 'e> Visit<'a> for SemanticIdsCollector<'e> { fn enter_scope(&mut self, _flags: ScopeFlags, scope_id: &Cell>) { let scope_id = scope_id.get(); self.scope_ids.push(scope_id); if scope_id.is_none() { - self.errors.push_with_label("Missing ScopeId", self.kinds.last().unwrap().span()); + self.errors.push("Missing ScopeId"); } } @@ -603,7 +590,7 @@ impl<'a, 'e> Visit<'a> for SemanticIdsCollector<'a, 'e> { let reference_id = ident.reference_id.get(); self.reference_ids.push(reference_id); if reference_id.is_none() { - self.errors.push_with_label(format!("Missing ReferenceId: {}", ident.name), ident.span); + self.errors.push(format!("Missing ReferenceId: {}", ident.name)); } } @@ -611,7 +598,7 @@ impl<'a, 'e> Visit<'a> for SemanticIdsCollector<'a, 'e> { let symbol_id = ident.symbol_id.get(); self.symbol_ids.push(symbol_id); if symbol_id.is_none() { - self.errors.push_with_label(format!("Missing SymbolId: {}", ident.name), ident.span); + self.errors.push(format!("Missing SymbolId: {}", ident.name)); } } diff --git a/tasks/transform_conformance/babel.snap.md b/tasks/transform_conformance/babel.snap.md index ce57fc775..84883e790 100644 --- a/tasks/transform_conformance/babel.snap.md +++ b/tasks/transform_conformance/babel.snap.md @@ -2203,39 +2203,14 @@ failed to resolve query: failed to parse the rest of input: ...'' * enum/mix-references/input.ts x Output mismatch x Missing ReferenceId: Foo - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/enum/mix-references/input.ts:1:1] - 1 | var x = 10; - : ^ - 2 | - `---- x Missing ReferenceId: Bar - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/enum/mix-references/input.ts:1:1] - 1 | var x = 10; - : ^ - 2 | - `---- x Missing ReferenceId: Baz - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/enum/mix-references/input.ts:1:1] - 1 | var x = 10; - : ^ - 2 | - `---- x Missing ReferenceId: A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/enum/mix-references/input.ts:1:1] - 1 | var x = 10; - : ^ - 2 | - `---- x Missing ReferenceId: A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/enum/mix-references/input.ts:1:1] - 1 | var x = 10; - : ^ - 2 | - `---- x Bindings mismatch: | after transform: ScopeId(1): ["Foo", "a", "b", "c"] @@ -2604,11 +2579,6 @@ failed to resolve query: failed to parse the rest of input: ...'' * exports/export-import=/input.ts x Missing SymbolId: JGraph - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/exports/export-import=/input.ts:1:1] - 1 | import * as joint from '@joint/core'; - : ^ - 2 | - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0), SymbolId(1)] @@ -2718,18 +2688,8 @@ failed to resolve query: failed to parse the rest of input: ...'' * imports/elide-type-referenced-in-imports-equal-no/input.ts x Missing SymbolId: foo - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-type-referenced-in-imports-equal-no/input.ts:1:1] - 1 | import nsa from "./module-a"; - : ^ - 2 | import foo = nsa.bar; - `---- x Missing SymbolId: bar - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-type-referenced-in-imports-equal-no/input.ts:1:1] - 1 | import nsa from "./module-a"; - : ^ - 2 | import foo = nsa.bar; - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0), SymbolId(1), SymbolId(2), @@ -2950,18 +2910,8 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/alias/input.ts x Missing SymbolId: b - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/alias/input.ts:1:1] - 1 | declare module LongNameModule { - : ^ - 2 | export type SomeType = number; - `---- x Missing SymbolId: AliasModule - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/alias/input.ts:1:1] - 1 | declare module LongNameModule { - : ^ - 2 | export type SomeType = number; - `---- x Bindings mismatch: | after transform: ScopeId(0): ["AliasModule", "LongNameModule", "b", @@ -2984,32 +2934,12 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/clobber-class/input.ts x Missing SymbolId: _A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/clobber-class/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: _A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/clobber-class/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/clobber-class/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/clobber-class/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Binding symbols mismatch: | after transform: ScopeId(2): [SymbolId(1), SymbolId(2)] @@ -3037,32 +2967,12 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/clobber-enum/input.ts x Missing SymbolId: _A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/clobber-enum/input.ts:1:1] - 1 | enum A { - : ^ - 2 | C = 2, - `---- x Missing ReferenceId: _A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/clobber-enum/input.ts:1:1] - 1 | enum A { - : ^ - 2 | C = 2, - `---- x Missing ReferenceId: A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/clobber-enum/input.ts:1:1] - 1 | enum A { - : ^ - 2 | C = 2, - `---- x Missing ReferenceId: A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/clobber-enum/input.ts:1:1] - 1 | enum A { - : ^ - 2 | C = 2, - `---- x Bindings mismatch: | after transform: ScopeId(1): ["A", "C"] @@ -3099,25 +3009,10 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/clobber-export/input.ts x Missing SymbolId: _N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/clobber-export/input.ts:1:1] - 1 | export class N {} - : ^ - 2 | export namespace N { var x; } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/clobber-export/input.ts:1:1] - 1 | export class N {} - : ^ - 2 | export namespace N { var x; } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/clobber-export/input.ts:1:1] - 1 | export class N {} - : ^ - 2 | export namespace N { var x; } - `---- x Binding symbols mismatch: | after transform: ScopeId(2): [SymbolId(1), SymbolId(2)] @@ -3140,984 +3035,284 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/contentious-names/input.ts x Missing SymbolId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _N2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: constructor - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _constructor - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: constructor - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: constructor - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: length - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _length - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: length - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: length - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: concat - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _concat - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: concat - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: concat - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: copyWithin - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _copyWithin - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: copyWithin - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: copyWithin - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: fill - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _fill - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: fill - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: fill - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: find - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _find - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: find - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: find - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: findIndex - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _findIndex - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: findIndex - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: findIndex - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: lastIndexOf - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _lastIndexOf - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: lastIndexOf - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: lastIndexOf - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: pop - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _pop - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: pop - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: pop - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: push - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _push - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: push - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: push - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: reverse - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _reverse - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: reverse - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: reverse - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: shift - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _shift - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: shift - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: shift - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: unshift - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _unshift - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: unshift - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: unshift - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: slice - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _slice - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: slice - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: slice - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: sort - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _sort - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: sort - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: sort - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: splice - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _splice - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: splice - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: splice - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: includes - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _includes - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: includes - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: includes - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: indexOf - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _indexOf - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: indexOf - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: indexOf - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: join - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _join - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: join - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: join - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: keys - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _keys - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: keys - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: keys - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: entries - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _entries - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: entries - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: entries - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: values - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _values - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: values - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: values - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: forEach - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _forEach - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: forEach - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: forEach - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: filter - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _filter - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: filter - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: filter - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: map - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _map - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: map - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: map - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: every - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _every - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: every - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: every - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: some - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _some - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: some - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: some - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: reduce - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _reduce - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: reduce - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: reduce - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: reduceRight - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _reduceRight - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: reduceRight - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: reduceRight - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: toLocaleString - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _toLocaleString - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: toLocaleString - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: toLocaleString - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: toString - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _toString - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: toString - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: toString - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: flat - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _flat - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: flat - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: flat - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: flatMap - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing SymbolId: _flatMap - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: flatMap - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: flatMap - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/contentious-names/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace N { var x } - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0)] @@ -4280,32 +3475,12 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/declare/input.ts x Missing SymbolId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/declare/input.ts:1:1] - 1 | export namespace N { - : ^ - 2 | export declare class C { - `---- x Missing SymbolId: _N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/declare/input.ts:1:1] - 1 | export namespace N { - : ^ - 2 | export declare class C { - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/declare/input.ts:1:1] - 1 | export namespace N { - : ^ - 2 | export declare class C { - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/declare/input.ts:1:1] - 1 | export namespace N { - : ^ - 2 | export declare class C { - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0)] @@ -4318,32 +3493,12 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/declare-global-nested-namespace/input.ts x Missing SymbolId: X - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/declare-global-nested-namespace/input.ts:1:1] - 1 | declare global { namespace globalThis { var i18n: any; } } - : ^ - 2 | - `---- x Missing SymbolId: _X - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/declare-global-nested-namespace/input.ts:1:1] - 1 | declare global { namespace globalThis { var i18n: any; } } - : ^ - 2 | - `---- x Missing ReferenceId: X - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/declare-global-nested-namespace/input.ts:1:1] - 1 | declare global { namespace globalThis { var i18n: any; } } - : ^ - 2 | - `---- x Missing ReferenceId: X - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/declare-global-nested-namespace/input.ts:1:1] - 1 | declare global { namespace globalThis { var i18n: any; } } - : ^ - 2 | - `---- x Bindings mismatch: | after transform: ScopeId(0): ["X", "global", "i18n"] @@ -4356,284 +3511,84 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/empty-removed/input.ts x Missing SymbolId: a - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: _a - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: c - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: _c - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: c - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: c - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: a - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: a - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: WithTypes - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: _WithTypes - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: d - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: _d2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: d - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: d - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: WithTypes - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: WithTypes - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: WithValues - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: _WithValues - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: a - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: _a3 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: a - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: a - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: b - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: _b3 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: b - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: b - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: c - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: _c3 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: c - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: c - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: d - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: _d3 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: d - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: d - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: e - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing SymbolId: _e2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: e - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: e - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: WithValues - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Missing ReferenceId: WithValues - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/input.ts:1:1] - 1 | namespace a { - : ^ - 2 | namespace b {} - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0), SymbolId(6), SymbolId(14)] @@ -4696,28 +3651,12 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/export/input.ts x Missing SymbolId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/export/input.ts:1:1] - 1 | export namespace N { var x } - : ^ - `---- x Missing SymbolId: _N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/export/input.ts:1:1] - 1 | export namespace N { var x } - : ^ - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/export/input.ts:1:1] - 1 | export namespace N { var x } - : ^ - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/export/input.ts:1:1] - 1 | export namespace N { var x } - : ^ - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0)] @@ -4740,144 +3679,44 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/module-nested/input.ts x Missing SymbolId: src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing SymbolId: _src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing SymbolId: ns1 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing SymbolId: _ns - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: _ns - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: foo - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: ns1 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: ns1 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: _src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: _src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing SymbolId: ns2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing SymbolId: _ns2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: _ns2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: foo - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: ns2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: ns2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: _src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: _src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested/input.ts:1:1] - 1 | module src { - : ^ - 2 | export namespace ns1 { - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0)] @@ -4914,144 +3753,44 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/module-nested-export/input.ts x Missing SymbolId: src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing SymbolId: _src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing SymbolId: ns1 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing SymbolId: _ns - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: _ns - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: foo - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: ns1 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: ns1 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: _src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: _src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing SymbolId: ns2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing SymbolId: _ns2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: _ns2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: foo - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: ns2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: ns2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: _src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: _src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Missing ReferenceId: src - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/module-nested-export/input.ts:1:1] - 1 | export module src { - : ^ - 2 | export namespace ns1 { - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0)] @@ -5088,53 +3827,18 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/multiple/input.ts x Missing SymbolId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/multiple/input.ts:1:1] - 1 | namespace N { var x; } - : ^ - 2 | namespace N { var y; } - `---- x Missing SymbolId: _N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/multiple/input.ts:1:1] - 1 | namespace N { var x; } - : ^ - 2 | namespace N { var y; } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/multiple/input.ts:1:1] - 1 | namespace N { var x; } - : ^ - 2 | namespace N { var y; } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/multiple/input.ts:1:1] - 1 | namespace N { var x; } - : ^ - 2 | namespace N { var y; } - `---- x Missing SymbolId: _N2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/multiple/input.ts:1:1] - 1 | namespace N { var x; } - : ^ - 2 | namespace N { var y; } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/multiple/input.ts:1:1] - 1 | namespace N { var x; } - : ^ - 2 | namespace N { var y; } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/multiple/input.ts:1:1] - 1 | namespace N { var x; } - : ^ - 2 | namespace N { var y; } - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0)] @@ -5172,228 +3876,68 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/nested/input.ts x Missing SymbolId: _A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing SymbolId: C - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing SymbolId: _C - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: _C - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: G - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: _C - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: C - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: C - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: _A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: _A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing SymbolId: _M - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: _M - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: M - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: M - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: _A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: D - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing SymbolId: _D - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: _D - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: H - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: D - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: D - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: _A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: _A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing SymbolId: _F - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: F - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: F - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing SymbolId: G - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing SymbolId: _G - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: G - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: G - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Missing ReferenceId: A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested/input.ts:1:1] - 1 | class A { } - : ^ - 2 | namespace A { - `---- x Binding symbols mismatch: | after transform: ScopeId(2): [SymbolId(1), SymbolId(4), SymbolId(6), @@ -5529,46 +4073,16 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/nested-namespace/input.ts x Missing SymbolId: A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-namespace/input.ts:1:1] - 1 | export namespace A { - : ^ - 2 | export namespace B { - `---- x Missing SymbolId: _A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-namespace/input.ts:1:1] - 1 | export namespace A { - : ^ - 2 | export namespace B { - `---- x Missing ReferenceId: _A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-namespace/input.ts:1:1] - 1 | export namespace A { - : ^ - 2 | export namespace B { - `---- x Missing ReferenceId: G - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-namespace/input.ts:1:1] - 1 | export namespace A { - : ^ - 2 | export namespace B { - `---- x Missing ReferenceId: A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-namespace/input.ts:1:1] - 1 | export namespace A { - : ^ - 2 | export namespace B { - `---- x Missing ReferenceId: A - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-namespace/input.ts:1:1] - 1 | export namespace A { - : ^ - 2 | export namespace B { - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0)] @@ -5597,242 +4111,72 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/nested-shorthand/input.ts x Missing SymbolId: X - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing SymbolId: _X - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing SymbolId: Y - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing SymbolId: _Y - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: _Y - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: Y - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: Y - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: _X - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: _X - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: X - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: X - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing SymbolId: proj - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing SymbolId: _proj - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing SymbolId: data - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing SymbolId: _data - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing SymbolId: util - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing SymbolId: _util - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing SymbolId: api - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing SymbolId: _api - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: _api - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: api - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: api - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: _util - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: _util - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: util - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: util - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: _data - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: _data - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: data - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: data - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: _proj - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: _proj - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: proj - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Missing ReferenceId: proj - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/nested-shorthand/input.ts:1:1] - 1 | namespace X.Y { - : ^ - 2 | export const Z = 1; - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0), SymbolId(3)] @@ -5877,214 +4221,64 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/same-name/input.ts x Missing SymbolId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing SymbolId: _N2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing SymbolId: _N7 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing SymbolId: _N4 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N7 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N7 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing SymbolId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing SymbolId: _N6 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N6 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N3 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing SymbolId: _N8 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N8 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N5 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing SymbolId: _N9 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N9 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: _N2 - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/same-name/input.ts:1:1] - 1 | namespace N { - : ^ - 2 | namespace _N7 { var x } - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0)] @@ -6142,28 +4336,12 @@ failed to resolve query: failed to parse the rest of input: ...'' * namespace/undeclared/input.ts x Missing SymbolId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/undeclared/input.ts:1:1] - 1 | namespace N { var x } - : ^ - `---- x Missing SymbolId: _N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/undeclared/input.ts:1:1] - 1 | namespace N { var x } - : ^ - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/undeclared/input.ts:1:1] - 1 | namespace N { var x } - : ^ - `---- x Missing ReferenceId: N - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/undeclared/input.ts:1:1] - 1 | namespace N { var x } - : ^ - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0)] @@ -6377,53 +4555,18 @@ failed to resolve query: failed to parse the rest of input: ...'' * regression/15768/input.ts x Output mismatch x Missing ReferenceId: Infinity - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/regression/15768/input.ts:1:1] - 1 | const v = 42; - : ^ - 2 | const v2 = Infinity; - `---- x Missing ReferenceId: Infinity - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/regression/15768/input.ts:1:1] - 1 | const v = 42; - : ^ - 2 | const v2 = Infinity; - `---- x Missing ReferenceId: Infinity - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/regression/15768/input.ts:1:1] - 1 | const v = 42; - : ^ - 2 | const v2 = Infinity; - `---- x Missing ReferenceId: Infinity - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/regression/15768/input.ts:1:1] - 1 | const v = 42; - : ^ - 2 | const v2 = Infinity; - `---- x Missing ReferenceId: StateEnum - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/regression/15768/input.ts:1:1] - 1 | const v = 42; - : ^ - 2 | const v2 = Infinity; - `---- x Missing ReferenceId: StateEnum - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/regression/15768/input.ts:1:1] - 1 | const v = 42; - : ^ - 2 | const v2 = Infinity; - `---- x Missing ReferenceId: StateEnum - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/regression/15768/input.ts:1:1] - 1 | const v = 42; - : ^ - 2 | const v2 = Infinity; - `---- x Bindings mismatch: | after transform: ScopeId(2): ["StateEnum", "ext", "ext2", "ext3", "nan", @@ -6864,39 +5007,14 @@ transform-react-jsx: unknown field `autoImport`, expected one of `runtime`, `dev * cross-platform/within-ts-module-block/input.ts x Output mismatch x Missing SymbolId: Namespaced - ,-[tasks/coverage/babel/packages/babel-plugin-transform-react-jsx-development/test/fixtures/cross-platform/within-ts-module-block/input.ts:1:1] - 1 | export namespace Namespaced { - : ^ - 2 | export const Component = () => ( - `---- x Missing SymbolId: _Namespaced - ,-[tasks/coverage/babel/packages/babel-plugin-transform-react-jsx-development/test/fixtures/cross-platform/within-ts-module-block/input.ts:1:1] - 1 | export namespace Namespaced { - : ^ - 2 | export const Component = () => ( - `---- x Missing ReferenceId: _Namespaced - ,-[tasks/coverage/babel/packages/babel-plugin-transform-react-jsx-development/test/fixtures/cross-platform/within-ts-module-block/input.ts:1:1] - 1 | export namespace Namespaced { - : ^ - 2 | export const Component = () => ( - `---- x Missing ReferenceId: Namespaced - ,-[tasks/coverage/babel/packages/babel-plugin-transform-react-jsx-development/test/fixtures/cross-platform/within-ts-module-block/input.ts:1:1] - 1 | export namespace Namespaced { - : ^ - 2 | export const Component = () => ( - `---- x Missing ReferenceId: Namespaced - ,-[tasks/coverage/babel/packages/babel-plugin-transform-react-jsx-development/test/fixtures/cross-platform/within-ts-module-block/input.ts:1:1] - 1 | export namespace Namespaced { - : ^ - 2 | export const Component = () => ( - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0), SymbolId(3), SymbolId(4)] diff --git a/tasks/transform_conformance/oxc.snap.md b/tasks/transform_conformance/oxc.snap.md index b64d090e8..7ff1af502 100644 --- a/tasks/transform_conformance/oxc.snap.md +++ b/tasks/transform_conformance/oxc.snap.md @@ -10,32 +10,12 @@ Passed: 10/36 # babel-plugin-transform-typescript (2/7) * computed-constant-value/input.ts x Missing ReferenceId: Infinity - ,-[tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/computed-constant-value/input.ts:1:1] - 1 | enum A { - : ^ - 2 | a = Infinity, - `---- x Missing ReferenceId: Infinity - ,-[tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/computed-constant-value/input.ts:1:1] - 1 | enum A { - : ^ - 2 | a = Infinity, - `---- x Missing ReferenceId: Infinity - ,-[tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/computed-constant-value/input.ts:1:1] - 1 | enum A { - : ^ - 2 | a = Infinity, - `---- x Missing ReferenceId: Infinity - ,-[tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/computed-constant-value/input.ts:1:1] - 1 | enum A { - : ^ - 2 | a = Infinity, - `---- x Bindings mismatch: | after transform: ScopeId(1): ["A", "a", "b", "c", "d", "e"] @@ -104,11 +84,6 @@ Passed: 10/36 * enum-member-reference/input.ts x Missing ReferenceId: Foo - ,-[tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/enum-member-reference/input.ts:1:1] - 1 | var x = 10; - : ^ - 2 | - `---- x Bindings mismatch: | after transform: ScopeId(1): ["Foo", "a", "b", "c"] @@ -133,39 +108,14 @@ Passed: 10/36 * export-elimination/input.ts x Missing SymbolId: Name - ,-[tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/input.ts:1:1] - 1 | import Im, {Ok} from 'a'; - : ^ - 2 | class Foo {} - `---- x Missing SymbolId: _Name - ,-[tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/input.ts:1:1] - 1 | import Im, {Ok} from 'a'; - : ^ - 2 | class Foo {} - `---- x Missing ReferenceId: _Name - ,-[tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/input.ts:1:1] - 1 | import Im, {Ok} from 'a'; - : ^ - 2 | class Foo {} - `---- x Missing ReferenceId: Name - ,-[tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/input.ts:1:1] - 1 | import Im, {Ok} from 'a'; - : ^ - 2 | class Foo {} - `---- x Missing ReferenceId: Name - ,-[tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/input.ts:1:1] - 1 | import Im, {Ok} from 'a'; - : ^ - 2 | class Foo {} - `---- x Bindings mismatch: | after transform: ScopeId(0): ["Baq", "Bar", "Baz", "Foo", "Func", "Im", @@ -557,11 +507,6 @@ Passed: 10/36 * refresh/generates-valid-signature-for-exotic-ways-to-call-hooks/input.jsx x Missing ScopeId - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-valid-signature-for-exotic-ways-to-call-hooks/input.jsx:1:1] - 1 | import FancyHook from 'fancy'; - : ^ - 2 | - `---- x Symbol reference IDs mismatch: | after transform: SymbolId(10): [ReferenceId(17), ReferenceId(18), @@ -598,18 +543,8 @@ Passed: 10/36 * refresh/includes-custom-hooks-into-the-signatures/input.jsx x Missing ScopeId - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures/input.jsx:1:1] - 1 | function useFancyState() { - : ^ - 2 | const [foo, setFoo] = React.useState(0); - `---- x Missing ScopeId - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures/input.jsx:1:1] - 1 | function useFancyState() { - : ^ - 2 | const [foo, setFoo] = React.useState(0); - `---- x Symbol reference IDs mismatch: | after transform: SymbolId(8): [ReferenceId(10), ReferenceId(11), @@ -1222,144 +1157,44 @@ Passed: 10/36 * refresh/supports-typescript-namespace-syntax/input.tsx x Output mismatch x Missing SymbolId: Foo - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing SymbolId: _Foo - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing SymbolId: Bar - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing SymbolId: _Bar - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: _Bar - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: _Bar - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: Bar - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: Bar - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: _Foo - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: _Foo - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: _Foo - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: _Foo - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: D - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing SymbolId: NotExported - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing SymbolId: _NotExported - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: _NotExported - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: NotExported - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: NotExported - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: Foo - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Missing ReferenceId: Foo - ,-[tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx:1:1] - 1 | namespace Foo { - : ^ - 2 | export namespace Bar { - `---- x Binding symbols mismatch: | after transform: ScopeId(0): [SymbolId(0)]