mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
resolve conflict; ref #3283
This commit is contained in:
@@ -31,3 +31,18 @@ assert('codegen absorbs arguments to redo and retry if they are the argument of
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
assert('method call with exactly 127 arguments') do
|
||||
def args_to_ary(*args)
|
||||
args
|
||||
end
|
||||
|
||||
assert_equal [0]*127, args_to_ary(
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user