Sha256: 3bb4d78dac55f386b8e9f54de2d1ae22f85030b1f840874fc6c221b208809fcc
Contents?: true
Size: 572 Bytes
Versions: 48
Compression:
Stored size: 572 Bytes
Contents
# @type method foo: (Integer, y: Integer) -> String # !expects MethodBodyTypeMismatch: method=foo, expected=::String, actual=::Integer def foo(x, y:) # @type var z: String # !expects IncompatibleAssignment: lhs_type=::String, rhs_type=::Integer z = x # !expects IncompatibleAssignment: lhs_type=::String, rhs_type=::Integer z = y 3 end # @type method bar: (Integer) -> String # !expects MethodArityMismatch: method=bar def bar(x, y) # @type var z: String # !expects IncompatibleAssignment: lhs_type=::String, rhs_type=::Integer z = x z = y end
Version data entries
48 entries across 48 versions & 1 rubygems