Skip to content

$foo = $foo gets completely compiled away #2681

@Conduitry

Description

@Conduitry

If you've mutated and autosubscription value without an assignment being involved, it will now be out of date with the actual store. Presumably, this is how we want this to behave, and something like $foo.push(whatever); shouldn't get instrumented.

Also presumably, the way to deal with this is to then do $foo = $foo; which will compile to foo.set($foo);, but currently that is getting compiled away into nothing.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions