Sha256: cbe91fc001ffcbd96db4c3351ea9f33beb4c9397f16013db7061018b3c7cd28e

Contents?: true

Size: 303 Bytes

Versions: 7

Compression:

Stored size: 303 Bytes

Contents

# The following "break" is compiled as "throw" instruction since https://github.com/ruby/ruby/commit/34bc8210ed1624dc6ba24afef4616baa5a934df9
def foo
  begin
    while true
      break 1
    end
  rescue
    "foo"
  end
end

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/break4.rb
typeprof-0.15.3 smoke/break4.rb
typeprof-0.15.2 smoke/break4.rb
typeprof-0.15.1 smoke/break4.rb
typeprof-0.15.0 smoke/break4.rb
typeprof-0.14.1 smoke/break4.rb
typeprof-0.14.0 smoke/break4.rb