Sha256: d760918c1222ce93a508d85d8caeff17e656fc7230330de77bf2fcd658e52d64

Contents?: true

Size: 184 Bytes

Versions: 14

Compression:

Stored size: 184 Bytes

Contents

def foo
  a = []
  while true
    a << 1
    a << "str"
    break if rand < 0.5
  end
  a
end

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/array-ltlt2.rb
typeprof-0.15.3 smoke/array-ltlt2.rb
typeprof-0.15.2 smoke/array-ltlt2.rb
typeprof-0.15.1 smoke/array-ltlt2.rb
typeprof-0.15.0 smoke/array-ltlt2.rb
typeprof-0.14.1 smoke/array-ltlt2.rb
typeprof-0.14.0 smoke/array-ltlt2.rb
typeprof-0.13.0 smoke/array-ltlt2.rb
typeprof-0.12.0 smoke/array-ltlt2.rb
typeprof-0.11.0 smoke/array-ltlt2.rb
typeprof-0.10.0 smoke/array-ltlt2.rb
typeprof-0.9.2 smoke/array-ltlt2.rb
typeprof-0.9.1 smoke/array-ltlt2.rb
typeprof-0.9.0 smoke/array-ltlt2.rb