Sha256: 50b0c310350d084daec7a27e4437570a8af51d0dc7b75548c6d9166fe4266672

Contents?: true

Size: 250 Bytes

Versions: 48

Compression:

Stored size: 250 Bytes

Contents

# @type var a: A

a = A.new

# @type var i: Integer
# @type var s: String

# !expects IncompatibleAssignment: lhs_type=::String, rhs_type=::Integer
s = a.foo

# !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=::String
i = a.foo { nil }

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
steep-0.7.0 smoke/block/a.rb
steep-0.6.0 smoke/block/a.rb
steep-0.5.1 smoke/block/a.rb
steep-0.5.0 smoke/block/a.rb
steep-0.4.0 smoke/block/a.rb
steep-0.3.0 smoke/block/a.rb
steep-0.2.0 smoke/block/a.rb
steep-0.1.0 smoke/block/a.rb