Sha256: 16c7f02d892bf01afa4d9fde15ded703f590edbb4bd3b533b2ac04f35c25aa6b

Contents?: true

Size: 240 Bytes

Versions: 7

Compression:

Stored size: 240 Bytes

Contents

def bar(x)
end

def test_yield
  yield
end

def foo
  a = [1]
  test_yield do
    bar(a)
  end
  a
end

foo

__END__
# Classes
class Object
  def bar : ([Integer]) -> nil
  def test_yield : { () -> nil } -> nil
  def foo : -> [Integer]
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
typeprof-0.3.0 smoke/array12.rb
typeprof-0.2.0 smoke/array12.rb
typeprof-0.1.4 smoke/array12.rb
typeprof-0.1.3 smoke/array12.rb
typeprof-0.1.2 smoke/array12.rb
typeprof-0.1.1 smoke/array12.rb
typeprof-0.1.0 smoke/array12.rb