Skip to content

Assignment to array items inside each blocks does not invalidate the array. #3411

@pngwn

Description

@pngwn

Describe the bug
When performed inside an inline function with curly braces, assignments to array items inside each blocks do not correctly invalidate the array but instead invalidate the array item.

To Reproduce
REPL

On removing the curly braces, Svelte will correctly invalidate the array.

Expected behaviour
The array should be updated, invalidated.

Severity

There are workarounds, it isn't the worst thing that has ever happened in the world.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions