Sha256: 26f5ef491bd812459a2833cb0aee7a2dfb76b4552fa127e19abe8f5f47556075
Contents?: true
Size: 519 Bytes
Versions: 16
Compression:
Stored size: 519 Bytes
Contents
# @type var a: Integer # @type var b: Integer # !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=::String a = begin 'foo' ensure # !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=::Symbol b = :foo 1 end # @type method foo: (String) -> String # !expects MethodBodyTypeMismatch: method=foo, expected=::String, actual=::Integer def foo(a) 10 ensure # !expects ArgumentTypeMismatch: receiver=::Integer, expected=::Integer, actual=::String 1 + '1' a end
Version data entries
16 entries across 16 versions & 1 rubygems