Sha256: 3f46610b725a521ca9f0dcbec5150430119b5b152b05a17cadcb951589984d26
Contents?: true
Size: 425 Bytes
Versions: 12
Compression:
Stored size: 425 Bytes
Contents
# @type var a: ^(Integer) -> String a = -> (x) { x.to_s } # @type var b: Array<Float> # !expects IncompatibleAssignment: lhs_type=::Array<::Float>, rhs_type=::Array<::String> b = [1,2,3].map(&a) # !expects IncompatibleAssignment: lhs_type=::Array<::Float>, rhs_type=::Array<::String> b = [1,2,3].map(&:to_s) # !expects* BlockTypeMismatch: [1,2,3].map(&:no_such_method) # !expects* BlockTypeMismatch: [1,2,3].map(&:floor)
Version data entries
12 entries across 12 versions & 1 rubygems