Sha256: 829cb3cc62217f37faebbc745a517c58a57f453df70a5eb0225abdf31facca34

Contents?: true

Size: 272 Bytes

Versions: 3

Compression:

Stored size: 272 Bytes

Contents

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

a = "foo"

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
steep-0.3.0 smoke/and/a.rb
steep-0.2.0 smoke/and/a.rb
steep-0.1.0 smoke/and/a.rb