Repository navigation
Commit d293b32
committed
fix(compiler): tag state-tuple args as stale in Effect Events
staleValue only handled 'snapshot' and 'derived-state' kinds, so a
state-tuple passed into an Effect Event from deferred code stayed
untagged. bindTuplePattern then bound the shared tuple.snapshot
without stale, and with freshCaptures set, readsBinding treated the
read as current, skipping OCTANE_STRONG_STALE_STATE_UPDATE.
Extend staleValue to propagate stale into the tuple's inner snapshot.1 parent f81ccf2 commit d293b32
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3795 | 3795 | | |
3796 | 3796 | | |
3797 | 3797 | | |
| 3798 | + | |
| 3799 | + | |
| 3800 | + | |
| 3801 | + | |
3798 | 3802 | | |
3799 | 3803 | | |
3800 | 3804 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
644 | 652 | | |
645 | 653 | | |
646 | 654 | | |
| |||
0 commit comments