summaryrefslogtreecommitdiffhomepage
path: root/lib/mruby-core-ext.rb
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2019-08-31 13:03:30 +0900
committerKOBAYASHI Shuji <[email protected]>2019-09-01 09:28:11 +0900
commitfe6cf851bf1080d1892f777987d2e52962d5f678 (patch)
treedead1df7ea2d36860a59df80c067f18ba3426d6a /lib/mruby-core-ext.rb
parent55ef4e4bdda01153c93cca26313d0329f765b591 (diff)
downloadmruby-fe6cf851bf1080d1892f777987d2e52962d5f678.tar.gz
mruby-fe6cf851bf1080d1892f777987d2e52962d5f678.zip
`Array#permutation` with a negative argument should not yield
Before this patch: $ bin/mruby -e '[1].permutation(-1){|v| p v}' #=> [1] After this patch (same as Ruby): $ bin/mruby -e '[1].permutation(-1){|v| p v}' #=> no output
Diffstat (limited to 'lib/mruby-core-ext.rb')
0 files changed, 0 insertions, 0 deletions