-
-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working
Description
Describe the bug
In svelte, the syntax break $ is used to escape a reactive block (sveltejs/svelte#2828).
However, in VSCode, using this syntax shows an error "Expression expected // ; Expected".
"break $" is transformed by svelte2tsx to :
"break __sveltets_store_get();" which is not a valid syntax
To Reproduce
<script>
$: { break $; }
</script>
Expected behavior
The previous code should be valid in vscode.
System (please complete the following information):
- OS: Windows 10
- IDE: VSCode
- Plugin/Package:
Metadata
Metadata
Assignees
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working