Sha256: a5ae27aaa6aba5c8848cc3eb72d9db537153bccac988e7b0f691d6d816be13b4

Contents?: true

Size: 218 Bytes

Versions: 18

Compression:

Stored size: 218 Bytes

Contents

def foo(x)
  42
end

def bar
  begin
    x = 1
    x = "str"
    x = :sym
  rescue
  end
  foo(x)
end

bar

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

Version data entries

18 entries across 18 versions & 1 rubygems

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