Sha256: b8597a368ca4930fdcc152195ac45cbfc80c51c52995c1a9a8c3c529df76ecd7

Contents?: true

Size: 215 Bytes

Versions: 11

Compression:

Stored size: 215 Bytes

Contents

def foo(x)
  42
end

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

bar

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

Version data entries

11 entries across 11 versions & 1 rubygems

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