You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The language server incorrectly reports "Cannot find name" error when using {@render ...} inside snippet definitions, even though the snippet function is properly defined under specific conditions.
Describe the bug
The language server incorrectly reports "Cannot find name" error when using
{@render ...}
inside snippet definitions, even though the snippet function is properly defined under specific conditions.Reproduction
Expected behaviour
No "Cannot find name" error should be reported for properly defined snippet functions.
System Info
Which package is the issue about?
svelte-language-server
Additional Information, eg. Screenshots
I have verified this issue across multiple versions:
The error can be eliminated by either:
onclick={foo}
handler<script module lang="ts"></script>
tagAdditionally,
{@render renderButton()}
functions correctly when used outside of snippet definitions.The text was updated successfully, but these errors were encountered: