-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
chore: provide links to documentation for errors/warnings #14629
Conversation
🦋 Changeset detectedLatest commit: 68281fa The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
closes #11305
919d142
to
1e8be19
Compare
@@ -339,7 +339,7 @@ function transform(name, dest) { | |||
}; | |||
|
|||
for (let i = 0; i < node.expressions.length; i += 1) { | |||
const q = node.quasis[i + 1]; | |||
const q = structuredClone(node.quasis[i + 1]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this change about?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(reverting it doesn't cause any tests to fail)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert it and rebuild the generated messages then you'll see it - later code does mutate properties and that can pollute the node across codes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, i see
closes #11305
Companion PR: sveltejs/svelte.dev#965