Commit d630bc8
authored
fix(runtime): pass blocks array to destroy_block in reconcile_by_key Map path (#788)
In reconcile_by_key's Map-based path, the fast_path_removal cleanup loop
called destroy_block(a[a_start++]) where `a` is state.array (values).
It should use a_blocks[a_start++] since destroy_block expects a Block object.
Passing a plain value causes a TypeError when destroy_block accesses block
properties (.fn, .p, .f, etc.).1 parent 43aaafa commit d630bc8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
| 439 | + | |
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| |||
0 commit comments