Sha256: 0fd9f7df924150247cc3cf50f2e82751d5ea58bae55a521f46889d4ef18a7de5

Contents?: true

Size: 249 Bytes

Versions: 12

Compression:

Stored size: 249 Bytes

Contents

type-inference --test=Method.Yield.ArrayArg.Splat1 --should-be=Array
def f
  yield [1, 2.3]
end
f {|x, *y|
  y_|_
}
EOF

type-inference --test=Method.Yield.ArrayArg.Splat2 --should-be=String
def f
  yield [1, 2.3, '']
end
f {|x, *y|
  y[1]_|_
}
EOF

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rsense-core-0.6.6 test/script/method_yield_arrayarg_splat.rsense
rsense-core-0.6.5 test/script/method_yield_arrayarg_splat.rsense
rsense-core-0.6.4 test/script/method_yield_arrayarg_splat.rsense
rsense-core-0.6.2 test/script/method_yield_arrayarg_splat.rsense
rsense-core-0.6.1 test/script/method_yield_arrayarg_splat.rsense
rsense-core-0.6.0 test/script/method_yield_arrayarg_splat.rsense
rsense-core-0.5.9 test/script/method_yield_arrayarg_splat.rsense
rsense-core-0.5.8 test/script/method_yield_arrayarg_splat.rsense
rsense-core-0.5.6 test/script/method_yield_arrayarg_splat.rsense
rsense-core-0.5.2 test/script/method_yield_arrayarg_splat.rsense
rsense-core-0.5.1 test/script/method_yield_arrayarg_splat.rsense
rsense-core-0.5.0 test/script/method_yield_arrayarg_splat.rsense