Sha256: 6c4415f8dd6b13f1ea47216ff660b2de84eb3c21a17dddfba2d2b73fcafe24fd
Contents?: true
Size: 394 Bytes
Versions: 32
Compression:
Stored size: 394 Bytes
Contents
# @type var a: Array[Integer] a = [] a[1] = 3 # !expects* UnresolvedOverloading: receiver=::Array[::Integer], method_name=[]=, a[2] = "foo" # @type var i: Integer i = a[0] # @type var s: String # !expects IncompatibleAssignment: lhs_type=::String, rhs_type=::Integer s = a[1] b = ["a", "b", "c"] s = b[0] # !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=::String i = b[1]
Version data entries
32 entries across 32 versions & 1 rubygems