Sha256: e29c97edef97fbe424e503896976b0b0bfcd42c1cc34e537a1a899ee8c25da8b

Contents?: true

Size: 237 Bytes

Versions: 11

Compression:

Stored size: 237 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

11 entries across 11 versions & 1 rubygems

Version Path
typeprof-0.7.0 smoke/array12.rb
typeprof-0.6.1 smoke/array12.rb
typeprof-0.6.0 smoke/array12.rb
typeprof-0.5.4 smoke/array12.rb
typeprof-0.5.3 smoke/array12.rb
typeprof-0.5.2 smoke/array12.rb
typeprof-0.5.1 smoke/array12.rb
typeprof-0.5.0 smoke/array12.rb
typeprof-0.4.2 smoke/array12.rb
typeprof-0.4.1 smoke/array12.rb
typeprof-0.4.0 smoke/array12.rb