-
-
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 workinggood first issueGood for newcomersGood for newcomers
Description
Describe the bug
svelte-check reports a warning when using unary operation with a reactive store syntax.
To Reproduce
In my case svelte-check wasn't satisfied with this line:
$: show404 = !ent && !$syncStatusStore;I got the following error:
Warning - unrecognized UnaryExpression operator 53!
This is an edge case unaccounted for in svelte2tsx, please file an issue:
https://github.com/sveltejs/language-tools/issues/new/choose
!$syncStatusStore
Expected behavior
No error or warning.
System (please complete the following information):
- OS: Mac OS 10.15.3
- IDE: VS Code
- Plugin/Package: Svelte for VS Code (the new official one)
Metadata
Metadata
Assignees
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers