Skip to content

Conversation

@hi-ogawa
Copy link
Contributor

Fixes #45802

This PR attempts to fix small regression of the PR #43780. I have to say I still don't see the whole picture of jsx parsing routines, so my fix might not be to the point.
If maintainers have other solutions in mind, please feel free to close my PR.

I added a few tests to verify that the crash is now fixed. There are also baseline changes which shows how mismatched jsx parsing differs after this fix.

Thanks for the code review!

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Sep 12, 2021
Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

Very nice fix. The comments just need a couple of updates too.

Co-authored-by: Nathan Shively-Sanders <[email protected]>
@hi-ogawa
Copy link
Contributor Author

hi-ogawa commented Sep 17, 2021

Thanks for the review! I updated comments with your suggestion. I just tried Github's commit suggestion button, so git log looks a bit funny but I hope you don't mind.

@hi-ogawa hi-ogawa requested a review from sandersn September 17, 2021 13:33
@sandersn sandersn merged commit 5ef0439 into microsoft:main Sep 20, 2021
@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

For Backlog Bug PRs that fix a backlog bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No auto-closing div tag when nested in li and another div

3 participants