Sha256: 3f8279139b52e91f3b1db90650bccd4e328231309a14c2569d77a4b7f68d905b

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 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

2 entries across 2 versions & 1 rubygems

Version Path
steep-0.5.1 smoke/alias/a.rb
steep-0.5.0 smoke/alias/a.rb