We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SymbolId
declare class C {}
Semantic does not produce a SymbolId for C in declare class C {}.
C
I believe it should - all BindingIdentifiers should have a SymbolId, and we do produce SymbolIds for other TS-only identifiers e.g. type N = number;.
BindingIdentifier
type N = number;
In this example, only A gets assigned a SymbolId:
A
class A {} declare class B {} export declare class C {}
Playground
Relevant code:
oxc/crates/oxc_semantic/src/binder.rs
Lines 103 to 118 in ff2a1d4
The text was updated successfully, but these errors were encountered:
I couldn't figure out where in binder.ts permits
binder.ts
declare class F {} function F() {}
but not
class F {} function F() {}
I need to debug binder.ts :-/
Sorry, something went wrong.
We need this to remove declare binding from export {}. See rolldown/rolldown#3048 (comment)
declare
export {}
Boshen
No branches or pull requests
Semantic does not produce a
SymbolId
forC
indeclare class C {}
.I believe it should - all
BindingIdentifier
s should have aSymbolId
, and we do produceSymbolId
s for other TS-only identifiers e.g.type N = number;
.In this example, only
A
gets assigned aSymbolId
:Playground
Relevant code:
oxc/crates/oxc_semantic/src/binder.rs
Lines 103 to 118 in ff2a1d4
The text was updated successfully, but these errors were encountered: