-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pragma ... cannot be set when runtime is automatic
is emitted two times and at wrong position
#4703
Closed
Milestone
Comments
mischnic
changed the title
pragma and pragmaFrag cannot be set when runtime is automatic is emitted two times and at wrong position
May 18, 2022
pragma ... cannot be set when runtime is automatic
is emitted two times and at wrong position
kdy1
added a commit
to kdy1/swc
that referenced
this issue
May 18, 2022
Thank you! |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After running the react transform, there are two errors/diagnostics emitted for
pragma and pragmaFrag cannot be set when runtime is automatic
(the two diagnostics have a slightly different end position though)And ideally, it would also point to the actual comment on the first line and not to the line
function ProductItem() {
Input code
(Using the automatic runtime)
Current behaviour
Full Reproduction
Details
Version
6a7240f
Context
An example of how this manifests in Parcel at the moment. Duplicate error and wrong position
The text was updated successfully, but these errors were encountered: