Skip to content

Conversation

nayeemrmn
Copy link
Contributor

The expression span for @jsxFrag null wasn't being adjusted. This was leading to a source map panic when trying to format the error for error: pragmaFrag cannot be set when runtime is automatic.

If it needs a test, please let me know how to add fixtures for expected parse failures.

@nayeemrmn nayeemrmn requested review from a team as code owners October 4, 2025 06:17
Copy link

changeset-bot bot commented Oct 4, 2025

🦋 Changeset detected

Latest commit: a3829a2

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

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

Copy link

codspeed-hq bot commented Oct 4, 2025

CodSpeed Performance Report

Merging #11139 will not alter performance

Comparing nayeemrmn:jsx-frag-null-span (a3829a2) with main (d3cd97f)1

Summary

✅ 140 untouched

Footnotes

  1. No successful run was found on main (bebcc1c) during the generation of this report, so d3cd97f was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

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

Thanks!

@kdy1 kdy1 added this to the Planned milestone Oct 4, 2025
@kdy1 kdy1 merged commit 9353763 into swc-project:main Oct 4, 2025
174 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants