Repository navigation
fix(core): tolerate unmapped computed method brackets - #4
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Merged
leonidaz
added a commit
that referenced
this pull request
Sep 16, 2026
* fix(grammar): recognize multiline JSX expression boundaries * fix(intellij): align embedded JSX member roles * chore: publish JSX highlighting parity * fix(review): apply review findings * fix(ci): make highlighting fixtures format-stable * Address PR review feedback (#101) - avoid the key probe's fixture identifier collision * feat(intellij): analyze rainbow bracket structure * feat(intellij): integrate optional Rainbow Brackets * test(intellij): prove Rainbow Brackets integration * docs(intellij): document Rainbow compatibility * perf(intellij): keep rainbow highlighting linear * fix(review): apply rainbow findings #1-#4 * docs(plan): record Rainbow Brackets delivery * fix(intellij): preserve nested JSX and align rainbow color cycles * chore: remove local Rainbow Brackets plan * style(intellij): format Rainbow Brackets fixture * test(intellij): use implicit output in template fixtures --------- Co-authored-by: Leonidas <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
pnpm exec vitest run --project tsrx-react --project tsrx-preact --project tsrx-solid --project tsrx-vue packages/tsrx-react/tests/basic.test.js packages/tsrx-preact/tests/basic.test.js packages/tsrx-solid/tests/basic.test.js packages/tsrx-vue/tests/basic.test.jspnpm exec tsgo --noEmit -p packages/tsrx/tsconfig.jsonpnpm changeset:checkNote
Low Risk
Localized guard in source-map mapping logic with a regression test; no auth, data, or runtime behavior changes.
Overview
Virtual TypeScript / Volar mapping generation no longer crashes when Esrap’s printer source map omits markers at the
[/]columns around a computed object method (e.g.{ [method]() { … } }).In
set_bracket_computed_mapping, the optional diagnostic mapping that widens the span to include computed brackets is skipped whensrc_to_gen_maphas no entry for the bracket-adjacent positions; mappings for the key and method body are unchanged.A shared source-mappings regression test covers computed object methods alongside the existing computed object key case.
Reviewed by Cursor Bugbot for commit 101b27e. Bugbot is set up for automated code reviews on this repo. Configure here.