Sha256: a8b84f2217701d3561f417e05d833cbbde82b149561265e8e9a8310973a4cbeb
Contents?: true
Size: 393 Bytes
Versions: 16
Compression:
Stored size: 393 Bytes
Contents
class A # @type method foo: () { (Integer) -> Integer } -> any def foo() # @type var x: String # !expects IncompatibleAssignment: lhs_type=::String, rhs_type=::Integer x = yield(3) # !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=::String yield(x) end # @type method bar: () -> any def bar() # !expects UnexpectedYield yield 4 end end
Version data entries
16 entries across 16 versions & 1 rubygems