Sha256: 3772defbfd363363ec3e81d065c0a1eb2528b7af2a7fed829f0a08935ae92df0
Contents?: true
Size: 307 Bytes
Versions: 4
Compression:
Stored size: 307 Bytes
Contents
F = -> x { "str" } def foo(&blk) blk.call(:sym, &F) end foo do |dummy, &blk| blk.call(42) end # truly expected: # Object#foo :: (&Proc[(Symbol, &Proc[(Integer) -> String]) -> String]) -> String __END__ # Classes class Object F : ^(Integer) -> String def foo : { (:sym) -> String } -> String end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.7.0 | smoke/block5.rb |
typeprof-0.6.1 | smoke/block5.rb |
typeprof-0.6.0 | smoke/block5.rb |
typeprof-0.5.4 | smoke/block5.rb |