Skip to content

Assert the result of getTokenValue is defined #21339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 22, 2018

First stab at #20792. In that issue an identifier has no escapedText set -- that eventually comes from here.

@ghost ghost requested a review from rbuckton January 22, 2018 19:51
@ghost ghost force-pushed the assertTokenValueDefined branch from 6500760 to 79a0f37 Compare January 22, 2018 19:56
Copy link
Contributor

@mhegazy mhegazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not add an assert in the scanner. if this fires, the whole LS will be hosed.

@ghost
Copy link
Author

ghost commented Feb 2, 2018

OK, better fix at #21581

@ghost ghost closed this Feb 2, 2018
@ghost ghost deleted the assertTokenValueDefined branch February 2, 2018 19:49
@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