diff options
author | Jimmy Miller <[email protected]> | 2023-03-07 17:03:43 -0500 |
---|---|---|
committer | <[email protected]> | 2023-03-07 17:03:43 -0500 |
commit | 56df6d5f9d986a7959eb9cac27e21bc2ed505319 () | |
tree | 3ce9efc14aa28e2b5e9f050fc8a7037980d78fb1 /yjit/bindgen/src/main.rs | |
parent | 33edcc112081f96856d52e73253d73c97a5c4a3c (diff) |
YJIT: Handle splat+rest for args pass greater than required (#7468)
For example: ```ruby def my_func(x, y, *rest) p [x, y, rest] end my_func(1, 2, 3, *[4, 5]) ```
Notes: Merged-By: maximecb <[email protected]>
-rw-r--r-- | yjit/bindgen/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -136,6 +136,7 @@ fn main() { .allowlist_function("rb_ary_resurrect") .allowlist_function("rb_ary_clear") .allowlist_function("rb_ary_dup") // From internal/array.h .allowlist_function("rb_ec_ary_new_from_values") |