Skip to content

fix: parenthesize decorator expressions the grammar rejects bare - #233

Merged
Rich-Harris merged 2 commits into
mainfrom
fix-decorator-wrap
Sep 25, 2026
Merged

Rich-Harris merged 2 commits into
mainfrom
fix-decorator-wrap

Conversation

@Nic-Polumeyv

Copy link
Copy Markdown
Member

The precedence check printed @(a[0]) as @a[0], which acorn-typescript and tsc both reject.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Install the latest version of esrap from 0cfb35d:

pnpm add https://pkg.svelte.dev/esrap/c/0cfb35d5ce4360267ef439decb977a4ee0038077

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/esrap/pr/233

@changeset-bot

changeset-bot Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0cfb35d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
esrap Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Rich-Harris Rich-Harris left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice catch

@Rich-Harris
Rich-Harris merged commit c87ccde into main Sep 25, 2026
7 checks passed
@Rich-Harris
Rich-Harris deleted the fix-decorator-wrap branch September 25, 2026 21:22
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