-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(typescript_indexer): emit edges for methods that are 2+ levels aw…
…ay (#5725) This fixes the following scenario: ```typescript class One { doStuff() {} } class Two extends One {} class Three extends Two { override doStuff() {} } ``` Previously TS indexer didn't emit `overrides` edge between `doStuff` methods. Now TS indexer traverses all parent class chain until it finds a class/interface that contains method in question or until it reaches base class/interface.
- Loading branch information
1 parent
1ad4c6d
commit 580ced8
Showing
2 changed files
with
13 additions
and
8 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