Sha256: b5bb26f198c7572616760e63c2c1231becb67bebd627c70e6237b7fe2822a27f

Contents?: true

Size: 228 Bytes

Versions: 11

Compression:

Stored size: 228 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
  private
  def foo: ((:sym | Integer | String)? x) -> Integer
  def bar: -> Integer
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/rescue2.rb
typeprof-0.15.3 smoke/rescue2.rb
typeprof-0.15.2 smoke/rescue2.rb
typeprof-0.15.1 smoke/rescue2.rb
typeprof-0.15.0 smoke/rescue2.rb
typeprof-0.14.1 smoke/rescue2.rb
typeprof-0.14.0 smoke/rescue2.rb
typeprof-0.13.0 smoke/rescue2.rb
typeprof-0.12.0 smoke/rescue2.rb
typeprof-0.11.0 smoke/rescue2.rb
typeprof-0.10.0 smoke/rescue2.rb