diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-04-05 13:19:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 13:19:31 -0700 |
commit | 1587494b0b5f64a9976dcf0bd94dfe98123c2c27 (patch) | |
tree | cde249ed1d85312a98de6b7e26bb80bdce2e44f8 /bootstraptest | |
parent | 52e571fa72debcd764765775bd1b76ee87e36d2d (diff) |
YJIT: Add codegen for Integer methods (#7665)
* YJIT: Add codegen for Integer methods
* YJIT: Update dependencies
* YJIT: Fix Integer#[] for argc=2
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_yjit.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bootstraptest/test_yjit.rb b/bootstraptest/test_yjit.rb index b7a3d3a520..c2916908b2 100644 --- a/bootstraptest/test_yjit.rb +++ b/bootstraptest/test_yjit.rb @@ -3817,3 +3817,8 @@ assert_equal '[true, true, true, true]', %q{ end calling_my_func } + +# Test Integer#[] with 2 args +assert_equal '0', %q{ + 3[0, 0] +} |