Skip to content
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

Merged
merged 7 commits into from
Dec 9, 2024

Conversation

dummdidumm
Copy link
Member

@dummdidumm dummdidumm commented Dec 9, 2024

closes #11305

Companion PR: sveltejs/svelte.dev#965

Copy link

changeset-bot bot commented Dec 9, 2024

🦋 Changeset detected

Latest commit: 68281fa

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

This PR includes changesets to release 1 package
Name Type
svelte 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

Copy link
Contributor

github-actions bot commented Dec 9, 2024

Playground

pnpm add https://pkg.pr.new/svelte@14629

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
closes #11305

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
dummdidumm and others added 4 commits December 9, 2024 16:55

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@@ -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]);
Copy link
Member

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?

Copy link
Member

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)

Copy link
Member Author

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

Copy link
Member

Choose a reason for hiding this comment

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

ah, i see

@Rich-Harris Rich-Harris merged commit cfc1fb7 into main Dec 9, 2024
11 checks passed
@Rich-Harris Rich-Harris deleted the warn-error-links branch December 9, 2024 18:26
@github-actions github-actions bot mentioned this pull request Dec 9, 2024
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.

Svelte 5: error/warning follow-up tasks
2 participants