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.39.0 smoke/array/b.rb
steep-0.38.0 smoke/array/b.rb
steep-0.37.0 smoke/array/b.rb
steep-0.36.0 smoke/array/b.rb
steep-0.35.0 smoke/array/b.rb
steep-0.34.0 smoke/array/b.rb
steep-0.33.0 smoke/array/b.rb
steep-0.32.0 smoke/array/b.rb
steep-0.31.1 smoke/array/b.rb
steep-0.31.0 smoke/array/b.rb
steep-0.30.0 smoke/array/b.rb
steep-0.29.0 smoke/array/b.rb
steep-0.28.0 smoke/array/b.rb
steep-0.27.0 smoke/array/b.rb
steep-0.25.0 smoke/array/b.rb
steep-0.24.0 smoke/array/b.rb
steep-0.23.0 smoke/array/b.rb
steep-0.22.0 smoke/array/b.rb
steep-0.21.0 smoke/array/b.rb
steep-0.20.0 smoke/array/b.rb