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

fix: take other snippets into account when checking for hoistability #2668

Merged

Conversation

paoloricciuti
Copy link
Member

Closes #2664

Dunno if there's a better way...this basically includes the snippets in the disallowed values but it has to do it until is stable to prevent situations where the snippet reference a snippet which is found as non hoistable after the check.

Copy link
Member

@dummdidumm dummdidumm left a comment

Choose a reason for hiding this comment

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

👍

@dummdidumm dummdidumm merged commit 9b44c6d into sveltejs:master Jan 17, 2025
3 checks passed
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.

Language Server: False "Cannot find name" error in nested snippet renders
2 participants