Sha256: eb06da2649ece8aeb8506fd058f585273d10479efdd2917b87e2c2bfda68121c

Contents?: true

Size: 288 Bytes

Versions: 29

Compression:

Stored size: 288 Bytes

Contents

x = ""
y = 1

x = y
y = x

# @type var a: Array[Integer]
# @type var b: Array[String]

a = []
# !expects IncompatibleAssignment: lhs_type=::Array[::String], rhs_type=::Array[::Integer]
b = a
# !expects IncompatibleAssignment: lhs_type=::Array[::Integer], rhs_type=::Array[::String]
a = b

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
steep-0.19.0 smoke/array/b.rb
steep-0.18.0 smoke/array/b.rb
steep-0.17.1 smoke/array/b.rb
steep-0.17.0 smoke/array/b.rb
steep-0.16.3 smoke/array/b.rb
steep-0.16.2 smoke/array/b.rb
steep-0.16.1 smoke/array/b.rb
steep-0.16.0 smoke/array/b.rb
steep-0.15.0 smoke/array/b.rb