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.19.0 smoke/and/a.rb
steep-0.18.0 smoke/and/a.rb
steep-0.17.1 smoke/and/a.rb
steep-0.17.0 smoke/and/a.rb
steep-0.16.3 smoke/and/a.rb
steep-0.16.2 smoke/and/a.rb
steep-0.16.1 smoke/and/a.rb
steep-0.16.0 smoke/and/a.rb
steep-0.15.0 smoke/and/a.rb
steep-0.14.0 smoke/and/a.rb
steep-0.13.0 smoke/and/a.rb
steep-0.12.0 smoke/and/a.rb
steep-0.11.1 smoke/and/a.rb
steep-0.11.0 smoke/and/a.rb
steep-0.10.0 smoke/and/a.rb
steep-0.9.0 smoke/and/a.rb
steep-0.8.2 smoke/and/a.rb
steep-0.8.1 smoke/and/a.rb
steep-0.8.0 smoke/and/a.rb
steep-0.7.1 smoke/and/a.rb