Skip to content

syntax: recover brace mismatches in backquotes - #794

Merged
ewhauser merged 1 commit into
mainfrom
ewhauser/backquote-brace-followup
Mar 30, 2026
Merged

ewhauser merged 1 commit into
mainfrom
ewhauser/backquote-brace-followup

Conversation

@ewhauser

Copy link
Copy Markdown
Owner

Summary

Restore recoverable backquote parsing for EOF-classified {/} mismatches.

What changed

  • treat EOF-classified {/} mismatches as recoverable in parseErrRecoverableInBackquotes
  • add focused regression coverage for quote and brace recoverability in backquotes

Validation

  • go test ./shell/syntax
  • make lint

@ewhauser
ewhauser enabled auto-merge (squash) March 30, 2026 03:03
@ewhauser
ewhauser disabled auto-merge March 30, 2026 03:03
@ewhauser
ewhauser merged commit f91f97b into main Mar 30, 2026
16 checks passed
@ewhauser
ewhauser deleted the ewhauser/backquote-brace-followup branch March 30, 2026 03:03
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