Description
Semantic does not produce a SymbolId
for C
in declare class C {}
.
I believe it should - all BindingIdentifier
s should have a SymbolId
, and we do produce SymbolId
s for other TS-only identifiers e.g. type N = number;
.
In this example, only A
gets assigned a SymbolId
:
class A {}
declare class B {}
export declare class C {}
Relevant code:
oxc/crates/oxc_semantic/src/binder.rs
Lines 103 to 118 in ff2a1d4