Sha256: a4c3f810c867e5b9c99021029c879045d06cfcc6eea24bd3f8b1cb1fba45377a

Contents?: true

Size: 348 Bytes

Versions: 10

Compression:

Stored size: 348 Bytes

Contents

# @type var x: foo
x = ""

# !expects NoMethodError: type=::foo, method=+
x + 123

# @type var y: bar<Integer>
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

10 entries across 10 versions & 1 rubygems

Version Path
steep-0.11.1 smoke/alias/a.rb
steep-0.11.0 smoke/alias/a.rb
steep-0.10.0 smoke/alias/a.rb
steep-0.9.0 smoke/alias/a.rb
steep-0.8.2 smoke/alias/a.rb
steep-0.8.1 smoke/alias/a.rb
steep-0.8.0 smoke/alias/a.rb
steep-0.7.1 smoke/alias/a.rb
steep-0.7.0 smoke/alias/a.rb
steep-0.6.0 smoke/alias/a.rb