Skip to content

Only copy non error values in array when converting the json#27440

Merged
sheetalkamat merged 2 commits into
masterfrom
invalidTypes
Sep 28, 2018
Merged

Only copy non error values in array when converting the json#27440
sheetalkamat merged 2 commits into
masterfrom
invalidTypes

Conversation

@sheetalkamat
Copy link
Copy Markdown
Member

Fixes #27432

types: []
},
errors: [
"tsconfig.json(5,5): error TS1136: Property assignment expected.\n",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This test seems brittle given that it now depends on the exact positions of a huge number of parse errors. Maybe it should just be a test that we don't throw/crash on it?

@sheetalkamat sheetalkamat merged commit e1a4c27 into master Sep 28, 2018
@sheetalkamat sheetalkamat deleted the invalidTypes branch September 28, 2018 22:50
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants