Repository navigation
Commit e31beee
committed
fix(compiler): preserve derived-state kind across parameter defaults
Add 'derived-state' to the list of binding kinds preserved when a callee
parameter has a default value, alongside 'prop' and 'snapshot'. Without
this, a derived-state argument (e.g. `apply(n + 1)`) passed to a
parameter with a default was downgraded to 'other', causing
checkStaleUpdate to miss the state provenance.1 parent 7d11680 commit e31beee
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2309 | 2309 | | |
2310 | 2310 | | |
2311 | 2311 | | |
2312 | | - | |
| 2312 | + | |
2313 | 2313 | | |
2314 | 2314 | | |
2315 | 2315 | | |
| |||
0 commit comments