Sha256: 32b18bf2f471b3b42465fe65625eb6f3901eb6bf4f3c10149aa5cabf827233f4

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

# @type var x: foo
x = ""

# !expects ArgumentTypeMismatch: receiver=(::Integer | ::String), expected=::String, actual=::Integer
x + 123

# @type var y: bar
y = x
y = []

# @type var z: Symbol
case x
when String
  # !expects IncompatibleAssignment: lhs_type=::Symbol, rhs_type=::String
  z = x
when Integer
  # !expects IncompatibleAssignment: lhs_type=::Symbol, rhs_type=::Integer
  z = x
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
steep-0.13.0 smoke/alias/a.rb
steep-0.12.0 smoke/alias/a.rb