You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rows[0.5] reads rows[0] instead of undefined (fractional index treated as an integer index) #10190
Found while extending the element-shape loop clone (#10185); reproduces on main's ancestor 2b77e7d4fe without that change, so it is a pre-existing indexed-read bug.
rows[0.5] must be a property lookup for the string key "0.5" (absent → undefined), not the integer index 0. Perry appears to truncate the double to an index somewhere on the untyped IndexGet path. The gap test in #10185 avoids the case (it uses an even step so the fractional-entry probe never reads a fractional index) precisely because this bug fails parity on its own; it deserves its own fix and gap test.
Activity
proggeramlug commentedon Sep 14, 2026
Fixed by merge train 185r (#10242) at 9fda98d.