Skip to content

Fix off-by-one typo to improve display of files in TS call hierarchy#89822

Merged
mjbvz merged 1 commit intomicrosoft:masterfrom
rbuckton:fixTSCallHierarchyFileDisplay
Jan 31, 2020
Merged

Fix off-by-one typo to improve display of files in TS call hierarchy#89822
mjbvz merged 1 commit intomicrosoft:masterfrom
rbuckton:fixTSCallHierarchyFileDisplay

Conversation

@rbuckton
Copy link

This fixes an issue where the call hierarchy item names are displaying incorrectly for files:

Expected

image

Actual

image

This was caused by an off-by-one typo in a function used to determine whether a call hierarchy item pointed to a TypeScript source file.

@rbuckton
Copy link
Author

I noticed this while working on microsoft/TypeScript#36509

@rbuckton
Copy link
Author

cc: @mjbvz

@mjbvz mjbvz self-assigned this Jan 31, 2020
@mjbvz mjbvz added this to the February 2020 milestone Jan 31, 2020
@mjbvz mjbvz merged commit d837ddc into microsoft:master Jan 31, 2020
@mjbvz
Copy link
Collaborator

mjbvz commented Jan 31, 2020

Thanks!

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants