Sha256: f32689eb47be82b21628180b69ce3ec92dce035202ed2e985980902d0446f3cb

Contents?: true

Size: 258 Bytes

Versions: 45

Compression:

Stored size: 258 Bytes

Contents

# @type var b: String
# @type var c: ::Integer

a = "foo"

# !expects IncompatibleAssignment: lhs_type=::String, rhs_type=(::String | nil)
b = a && a.to_str

# !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=(::String | nil)
c = a && a.to_str

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
steep-0.39.0 smoke/and/a.rb
steep-0.38.0 smoke/and/a.rb
steep-0.37.0 smoke/and/a.rb
steep-0.36.0 smoke/and/a.rb
steep-0.35.0 smoke/and/a.rb
steep-0.34.0 smoke/and/a.rb
steep-0.33.0 smoke/and/a.rb
steep-0.32.0 smoke/and/a.rb
steep-0.31.1 smoke/and/a.rb
steep-0.31.0 smoke/and/a.rb
steep-0.30.0 smoke/and/a.rb
steep-0.29.0 smoke/and/a.rb
steep-0.28.0 smoke/and/a.rb
steep-0.27.0 smoke/and/a.rb
steep-0.25.0 smoke/and/a.rb
steep-0.24.0 smoke/and/a.rb
steep-0.23.0 smoke/and/a.rb
steep-0.22.0 smoke/and/a.rb
steep-0.21.0 smoke/and/a.rb
steep-0.20.0 smoke/and/a.rb