mirror of
https://github.com/storytold/gridcraft.git
synced 2026-12-02 10:37:05 -06:00
When two dynamic arrays want the same cells, the one already spilling there keeps them and the newcomer is #SPILL!, as when the second is entered. recalc_all remembers the layout it clears (formulas that spilled, formulas that were #SPILL!) and lays arrays out in that order, then in reading order. The XLSX reader restores a dynamic array's saved `ref` as its spill range, because the file can only cache #VALUE! for a blocked array. Found by the command-sequence fuzz.