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.7.0 smoke/and/a.rb
steep-0.6.0 smoke/and/a.rb
steep-0.5.1 smoke/and/a.rb
steep-0.5.0 smoke/and/a.rb
steep-0.4.0 smoke/and/a.rb