fix: stop scoping legacy special variables inside string literals #46
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
repos/svelte-sublime!46
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/special-vars-in-strings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Inside a JavaScript string, text like
"$$props"is ordinary string content, not a reference to the legacy$$propsvariable. This removes thestring-contentoverride that stripped string scope from it. Bare identifiers keep theirvariable.language.dollar.jsscope.Addresses finding 6 of the syntax audit (legacy special variables incorrectly interpolated inside string literals).
Syntax tests updated and passing on ST builds 4143 and latest.