Files
scriptc/tests
Malte Ubl 5d68db67b2 Carry int32 proofs into captured bindings
A local captured by a closure lives in a box shared by its declaring
function and every capturing closure, so the range analysis had no facts
for it anywhere, not even in the declaring function. int32-slots.ts now
groups the members of each box (closure captures map positionally onto
the lifted function's captures) and proves the group int32 when every
write to it anywhere is proven and it starts from a proven parameter or
an initialized declaration; ++/--, for-of and catch bindings, TDZ boxes
and class-captured bindings stay unknown. analyzeIntegerRanges reads the
proof through a new boxed-binding fact.

Corpus 4453 adds closures that read an int32 parameter, store a fraction
into a captured local, and count past int32.
2026-10-09 11:59:28 -05:00
..
2026-07-22 18:08:04 -05:00