Skip to content

Instrumented $foo= bar; doesn't need to update $foo variable #4017

@Conduitry

Description

@Conduitry

$foo = bar; currently results in set_store_value(foo, $foo = bar);, but this $foo = is unnecessary, as set_store_value will result in the relevant subscription being synchronously called anyway. The $foo = in the compiled code is even a bit misleading in cases (such as tweened and spring stores) where calling .set() on the store doesn't actually immediately update it to that value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions