Skip to content

feat: Support for parsing scopes - #142

Open
loewenheim wants to merge 14 commits into
masterfrom
sebastian/scopes
Open

loewenheim wants to merge 14 commits into
masterfrom
sebastian/scopes

Conversation

@loewenheim

@loewenheim loewenheim commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

This implements part of https://tc39.es/ecma426/branch/proposal-scopes/. It only handles parsing scopes and returning them for sourcemaps, but doesn't handle:

  • serializing scopes back
  • variables in scopes
  • ranges in any way

Also, I don't have any real tests yet because I don't have a sourcemap with scope information available.

ref: #140. ref: RUSTSM-18.

@loewenheim
loewenheim requested a review from a team November 25, 2026 14:10
@loewenheim
loewenheim marked this pull request as ready for review November 25, 2026 14:10

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 4 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 58b51a9. Configure here.

Comment thread src/decoder/scope.rs Resolved
Comment thread src/decoder/scope.rs Resolved
Comment thread src/jsontypes.rs Resolved
Comment thread src/types/mod.rs Resolved
@linear-code

linear-code Bot commented Nov 25, 2026

Copy link
Copy Markdown

RUSTSM-18

Comment thread src/decoder/scope.rs Resolved

This branch has not been deployed

No deployments
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.

2 participants