Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

getSemanticDocumentHighlights: don't fail...#43372

Merged
elibarzilay merged 1 commit into
microsoft:mastermicrosoft/TypeScript:masterfrom
elibarzilay:33722elibarzilay/TypeScript:33722Copy head branch name to clipboard
Mar 25, 2021
Merged

getSemanticDocumentHighlights: don't fail...#43372
elibarzilay merged 1 commit into
microsoft:mastermicrosoft/TypeScript:masterfrom
elibarzilay:33722elibarzilay/TypeScript:33722Copy head branch name to clipboard

Conversation

@elibarzilay

Copy link
Copy Markdown
Contributor

...when missing program.redirectTargetsMap info. This assertion fails
in the added test case -- looks like there is no entry in
program.redirectTargetsMap when it comes from a file that is no in the
project. So in this case don't follow the (missing) info, and instead
drop the highlight.

Fixes #33722.

...when missing `program.redirectTargetsMap` info.  This assertion fails
in the added test case -- looks like there is no entry in
`program.redirectTargetsMap` when it comes from a file that is no in the
project.  So in this case don't follow the (missing) info, and instead
drop the highlight.

Fixes microsoft#33722.
@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Mar 25, 2021
@elibarzilay elibarzilay merged commit eb804a9 into microsoft:master Mar 25, 2021
@elibarzilay elibarzilay deleted the 33722 branch March 25, 2021 19:48
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: Debug Failure. False expression. in 'unknown' during 'documentHighlights'

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.