Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

fix: Don't propagate un-translated source ranges#64263

Merged
varungandhi-src merged 1 commit into
mainfrom
vg/drop-untranslated-ranges
Aug 5, 2024
Merged

fix: Don't propagate un-translated source ranges#64263
varungandhi-src merged 1 commit into
mainfrom
vg/drop-untranslated-ranges

Conversation

@varungandhi-src

@varungandhi-src varungandhi-src commented Aug 5, 2024

Copy link
Copy Markdown
Contributor

The getSourceRange function can have a range translation failure,
in which case it would be wrong to propagate the range directly
without the commit information. So skip the ranges in that case.

Test plan

n/a - we're not going to keep the GetHover and GetStencil APIs around
for much longer, but this is a quick fix

@cla-bot cla-bot Bot added the cla-signed label Aug 5, 2024
@github-actions github-actions Bot added team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform labels Aug 5, 2024
@varungandhi-src varungandhi-src merged commit 7595615 into main Aug 5, 2024
@varungandhi-src varungandhi-src deleted the vg/drop-untranslated-ranges branch August 5, 2024 07:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants