Boshen
Boshen
Let me check the spec.
This is incorrect, it's not a binding identifier. Although the "global" fix is correct in the next PR.
> How should we make a namespace's symbol is available from the AST? Can you elaborate?
> > > How should we make a namespace's symbol is available from the AST? > > > > > > Can you elaborate? > > `BindingIdentifier` has a `symbol_id`...
I need proof and reference from tsc to confirm this is a BindingIdentifier.
I checked binder.ts It calls `function bindModuleDeclaration(node: ModuleDeclaration) {` and then ``` function declareModuleSymbol(node: ModuleDeclaration): ModuleInstanceState { const state = getModuleInstanceState(node); const instantiated = state !== ModuleInstanceState.NonInstantiated; declareSymbolAndAddToSymbolTable( node, instantiated...
Unfortunately we are not building a runtime. We sometimes need duplicated information for ease of use.
> Some pointers: https://github.com/oxc-project/oxc/issues/9215#issuecomment-2667871128 To save a bit of clicking: TypeScript has the following syntax constraint: https://github.com/microsoft/TypeScript/blob/246507f7f90e08a330fc9f63c1b11c2e706d9193/src/compiler/parser.ts#L5583 https://github.com/microsoft/TypeScript/blob/246507f7f90e08a330fc9f63c1b11c2e706d9193/src/compiler/parser.ts#L5501-L5524
> At present, it seems that adding this configuration is still quite necessary can you elaborate your use case? I try to avoid adding options until it's necessary for a...
What's our next steps?