Sha256: ecbd62ce9803f2f38f6d1c4c1214862431b3eb8d3df7a3c4dc1bd1f2039321bf

Contents?: true

Size: 394 Bytes

Versions: 17

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

17 entries across 17 versions & 1 rubygems

Version Path
steep-0.27.0 smoke/alias/a.rb
steep-0.25.0 smoke/alias/a.rb
steep-0.24.0 smoke/alias/a.rb
steep-0.23.0 smoke/alias/a.rb
steep-0.22.0 smoke/alias/a.rb
steep-0.21.0 smoke/alias/a.rb
steep-0.20.0 smoke/alias/a.rb
steep-0.19.0 smoke/alias/a.rb
steep-0.18.0 smoke/alias/a.rb
steep-0.17.1 smoke/alias/a.rb
steep-0.17.0 smoke/alias/a.rb
steep-0.16.3 smoke/alias/a.rb
steep-0.16.2 smoke/alias/a.rb
steep-0.16.1 smoke/alias/a.rb
steep-0.16.0 smoke/alias/a.rb
steep-0.15.0 smoke/alias/a.rb
steep-0.14.0 smoke/alias/a.rb