Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsafe variable renaming in actions #755

Closed
pushkine opened this issue Jan 11, 2021 · 0 comments
Closed

Unsafe variable renaming in actions #755

pushkine opened this issue Jan 11, 2021 · 0 comments
Labels
bug Something isn't working Fixed Fixed in master branch. Pending production release.

Comments

@pushkine
Copy link
Contributor

<script lang="ts">
    const foo = 1;
</script>
<div use:action={{ foo }} />

Renaming foo to bar yields the following :

<div use:action={{ bar }} />

Expected :

<div use:action={{ foo: bar }} />
@pushkine pushkine added the bug Something isn't working label Jan 11, 2021
dummdidumm pushed a commit to dummdidumm/language-tools that referenced this issue Jan 11, 2021
@dummdidumm dummdidumm added the Fixed Fixed in master branch. Pending production release. label Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed Fixed in master branch. Pending production release.
Projects
None yet
Development

No branches or pull requests

2 participants