Sha256: 4c8d92621816dc4860801ed23acc4690ef5d90bc061102be844b5dfba139b56c
Contents?: true
Size: 275 Bytes
Versions: 11
Compression:
Stored size: 275 Bytes
Contents
def foo yield end any = undefined_method foo(&any) foo(&1) __END__ # Errors smoke/block7.rb:5: [error] undefined method: Object#undefined_method smoke/block7.rb:8: [error] wrong argument type Integer<1> (expected Proc) # Classes class Object def foo : -> untyped end
Version data entries
11 entries across 11 versions & 1 rubygems