Repository navigation
Commit d58a18f
committed
fix(strong-mode): tag state-tuple args as stale in Effect Event deferred calls
staleValue only handled 'snapshot' and 'derived-state' kinds, letting a
state-tuple passed from deferred code into an Effect Event keep its
snapshot without the stale flag. snapshotBinding and bindTuplePattern
then exposed the shared tuple.snapshot as a live capture, causing
OCTANE_STRONG_STALE_STATE_UPDATE to be silently skipped for deferred
pair[1](pair[0] + 1) patterns.
Add state-tuple handling to staleValue so the tuple copy carries a stale
snapshot, matching the scope-based rule this per-value tag replaced.1 parent 10e89bd commit d58a18f
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3796 | 3796 | | |
3797 | 3797 | | |
3798 | 3798 | | |
3799 | | - | |
3800 | | - | |
3801 | | - | |
| 3799 | + | |
| 3800 | + | |
| 3801 | + | |
| 3802 | + | |
| 3803 | + | |
3802 | 3804 | | |
3803 | 3805 | | |
3804 | 3806 | | |
| |||
0 commit comments