Skip to content

Fix bad error recovery when parsing repeated string literals#307

Merged
maxbrunsfeld merged 1 commit intomasterfrom
more-string-literal-recovery-fixes
Mar 27, 2026
Merged

Fix bad error recovery when parsing repeated string literals#307
maxbrunsfeld merged 1 commit intomasterfrom
more-string-literal-recovery-fixes

Conversation

@maxbrunsfeld
Copy link
Copy Markdown
Contributor

Fixes a bug where poor error recovery would occur when re-parsing as rust a token tree that would be typically passed to the serde_json::json! macro.

@maxbrunsfeld maxbrunsfeld merged commit b3e615d into master Mar 27, 2026
5 checks passed
maxbrunsfeld added a commit to zed-industries/zed that referenced this pull request Mar 27, 2026
This PR bumps tree-sitter-rust for this fix:
tree-sitter/tree-sitter-rust#307

Release Notes:

- N/A
piper-of-dawn pushed a commit to piper-of-dawn/zed that referenced this pull request Apr 25, 2026
This PR bumps tree-sitter-rust for this fix:
tree-sitter/tree-sitter-rust#307

Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant