Sha256: 5d03c192cb35f21a8085aecab8afdbaab40d2e73cca7e484ac28c3cd45373acd

Contents?: true

Size: 434 Bytes

Versions: 16

Compression:

Stored size: 434 Bytes

Contents

x = ""
y = 1

# !expects IncompatibleAssignment: lhs_type=::String, rhs_type=::Integer
x = y
# !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=::String
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

16 entries across 16 versions & 1 rubygems

Version Path
steep-0.11.1 smoke/array/b.rb
steep-0.11.0 smoke/array/b.rb
steep-0.10.0 smoke/array/b.rb
steep-0.9.0 smoke/array/b.rb
steep-0.8.2 smoke/array/b.rb
steep-0.8.1 smoke/array/b.rb
steep-0.8.0 smoke/array/b.rb
steep-0.7.1 smoke/array/b.rb
steep-0.7.0 smoke/array/b.rb
steep-0.6.0 smoke/array/b.rb
steep-0.5.1 smoke/array/b.rb
steep-0.5.0 smoke/array/b.rb
steep-0.4.0 smoke/array/b.rb
steep-0.3.0 smoke/array/b.rb
steep-0.2.0 smoke/array/b.rb
steep-0.1.0 smoke/array/b.rb