Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(typescript_indexer): handle type nodes when emitting ref/id from…
… object bindings (#5631) This fixes indexing of dynamic imports where imported symbols such as classes and enums use TSNamespace.TYPE in their vnames.
- Loading branch information
1 parent
4101e31
commit d282495
Showing
3 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
//- Mod=vname("module", _, _, "testdata/dynamic_import_group/module", _).node/kind record | ||
|
||
//- @StuffDoer defines/binding StuffDoer | ||
//- StuffDoer.node/kind record | ||
export class StuffDoer { | ||
doStuff() {} | ||
} | ||
} | ||
|
||
//- @CONSTANT defines/binding Constant | ||
export const CONSTANT = 1; | ||
|
||
//- @doStuff defines/binding DoStuff | ||
export function doStuff() {} | ||
|
||
//- @Enum defines/binding Enum | ||
export enum Enum {} |