-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Milestone
Description
Describe the bug
When naming a variable with the same name as a rune, without the $, like state or derived or others, the compiler considers them as the same, thus leading to errors like Cannot access 'state' before initialization or errors relating to rune re-affectation.
Even if it's not a bug, runes re-affectation should be prohibited.
Reproduction
Logs
No response
System Info
REPL, Svelte 5 next 175Severity
annoyance
yangshangbo
Metadata
Metadata
Assignees
Labels
No labels