From 1587494b0b5f64a9976dcf0bd94dfe98123c2c27 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 5 Apr 2023 13:19:31 -0700 Subject: YJIT: Add codegen for Integer methods (#7665) * YJIT: Add codegen for Integer methods * YJIT: Update dependencies * YJIT: Fix Integer#[] for argc=2 --- bootstraptest/test_yjit.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bootstraptest') 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] +} -- cgit v1.2.3