Sha256: a560aa83cbed2483ec3927f04dd38b42418e6a902a0ce9245411bdde0347dee5

Contents?: true

Size: 272 Bytes

Versions: 18

Compression:

Stored size: 272 Bytes

Contents

def bar(x)
  x
end

def foo
  yield 42
end

foo do |x|
  bar(x)
rescue
  x = "str"
  redo if rand < 0.5
  42
end

__END__
# Classes
class Object
  def bar : (Integer | String) -> (Integer | String)
  def foo : { (Integer) -> (Integer | String) } -> (Integer | String)
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
typeprof-0.7.0 smoke/redo2.rb
typeprof-0.6.1 smoke/redo2.rb
typeprof-0.6.0 smoke/redo2.rb
typeprof-0.5.4 smoke/redo2.rb
typeprof-0.5.3 smoke/redo2.rb
typeprof-0.5.2 smoke/redo2.rb
typeprof-0.5.1 smoke/redo2.rb
typeprof-0.5.0 smoke/redo2.rb
typeprof-0.4.2 smoke/redo2.rb
typeprof-0.4.1 smoke/redo2.rb
typeprof-0.4.0 smoke/redo2.rb
typeprof-0.3.0 smoke/redo2.rb
typeprof-0.2.0 smoke/redo2.rb
typeprof-0.1.4 smoke/redo2.rb
typeprof-0.1.3 smoke/redo2.rb
typeprof-0.1.2 smoke/redo2.rb
typeprof-0.1.1 smoke/redo2.rb
typeprof-0.1.0 smoke/redo2.rb