Sha256: 445426f2cc7007d258e4da542cde1a162d7801c7dfd85526b8cb8382d2feb061

Contents?: true

Size: 185 Bytes

Versions: 8

Compression:

Stored size: 185 Bytes

Contents

def foo(ary1, ary2)
  ary1.each do |x|
    ary2[0] = x
  end
  ary2
end

foo([1], ["str"])

__END__
# Classes
class Object
  def foo : ([Integer], [String]) -> ([Integer | String])
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
typeprof-0.7.0 smoke/block10.rb
typeprof-0.6.1 smoke/block10.rb
typeprof-0.6.0 smoke/block10.rb
typeprof-0.5.4 smoke/block10.rb
typeprof-0.5.3 smoke/block10.rb
typeprof-0.5.2 smoke/block10.rb
typeprof-0.5.1 smoke/block10.rb
typeprof-0.5.0 smoke/block10.rb