Sha256: a67aaf711639767e55f05708d42aaff8afe9a9c6540ef6a96c5ff49e4f800b0a
Contents?: true
Size: 526 Bytes
Versions: 32
Compression:
Stored size: 526 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* UnresolvedOverloading: receiver=::Array[::Integer], method_name=map, [1,2,3].map(&:no_such_method) # !expects* UnresolvedOverloading: receiver=::Array[::Integer], method_name=map, [1,2,3].map(&:divmod)
Version data entries
32 entries across 32 versions & 1 rubygems