summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorMax Bernstein <ruby@bernsteinbear.com>2026-02-05 13:53:08 -0500
committerMax Bernstein <tekknolagi@gmail.com>2026-02-09 13:23:36 -0500
commit3d00e34ab1d533820d2cd8bc361549b336767c9c (patch)
tree1f791b12cfbdcfbaf69ffed54e7aca5bb72033ad /test/ruby
parentbe54efb40378314cf74515cfefcf3c318fdd0e5a (diff)
ZJIT: Check for size >= expected in expandarray
Turns out `a, b = [1, 2, 3, 4]` is perfectly valid and just assigns `a = 1` and `b = 2` (and drops the rest). optcarrot relies on this. Allow it.
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions