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

fix invalidation in ++foo.bar #4395

Merged
merged 3 commits into from
Feb 9, 2020
Merged

fix invalidation in ++foo.bar #4395

merged 3 commits into from
Feb 9, 2020

Conversation

Conduitry
Copy link
Member

Fixes #4393. The optimization we're doing where we don't pass the invalidated value in as a third argument to $$invalidate in certain cases is incorrect in ++foo.bar because this sets foo to the new value of foo.bar.

@Conduitry Conduitry merged commit 0625fc2 into sveltejs:master Feb 9, 2020
@Conduitry Conduitry deleted the gh-4393 branch February 9, 2020 14:25
jesseskinner pushed a commit to jesseskinner/svelte that referenced this pull request Feb 27, 2020
taylorzane pushed a commit to taylorzane/svelte that referenced this pull request Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

++count.value produce undefined
1 participant