前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
class MyLib def test_negative_array_index #This should not cause an error, but it used to [][-1]
[-1][-1]
end end