Skip to content

Remove unnecessary length check in getSyntacticDocumentHighlights#22064

Merged
1 commit merged into
masterfrom
highlight_spans_length
Mar 1, 2018
Merged

Remove unnecessary length check in getSyntacticDocumentHighlights#22064
1 commit merged into
masterfrom
highlight_spans_length

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Feb 20, 2018

getHighlightSpans should always return at least the current keyword, or else undefined.

@ghost ghost requested a review from armanio123 February 20, 2018 19:55
@ghost ghost merged commit 7b929e0 into master Mar 1, 2018
@ghost ghost deleted the highlight_spans_length branch March 1, 2018 21:11
@microsoft microsoft locked and limited conversation to collaborators Jul 3, 2018
This pull request was closed.
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.

1 participant