Sha256: 5c3bf75354448ccd67f923750d9e4579bd83ade0286bb70c5c61efc9438c2477

Contents?: true

Size: 186 Bytes

Versions: 5

Compression:

Stored size: 186 Bytes

Contents

# a test for a recursive proc that receives (or returns) itself
def foo
  f = -> x { x }
  f[f]
  f
end

__END__
# Classes
class Object
  private
  def foo: -> ^(untyped) -> untyped
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/proc6.rb
typeprof-0.15.3 smoke/proc6.rb
typeprof-0.15.2 smoke/proc6.rb
typeprof-0.15.1 smoke/proc6.rb
typeprof-0.15.0 smoke/proc6.rb