Sha256: e37c18548d6bfd5a7a175daa7f5b7cd6ec0d01bd2a303618b0b4f4c0814f363e

Contents?: true

Size: 297 Bytes

Versions: 48

Compression:

Stored size: 297 Bytes

Contents

# @type var a: A
a = (_ = nil)

a.bar do |x|
  # !expects BreakTypeMismatch: expected=::Symbol, actual=::Integer
  break 3
end

# @type var s: ::String

# !expects IncompatibleAssignment: lhs_type=::String, rhs_type=(::Integer | ::Symbol)
s = a.bar do |x|
  # @type break: ::Integer
  break 3
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
steep-0.39.0 smoke/block/b.rb
steep-0.38.0 smoke/block/b.rb
steep-0.37.0 smoke/block/b.rb
steep-0.36.0 smoke/block/b.rb
steep-0.35.0 smoke/block/b.rb
steep-0.34.0 smoke/block/b.rb
steep-0.33.0 smoke/block/b.rb
steep-0.32.0 smoke/block/b.rb
steep-0.31.1 smoke/block/b.rb
steep-0.31.0 smoke/block/b.rb
steep-0.30.0 smoke/block/b.rb
steep-0.29.0 smoke/block/b.rb
steep-0.28.0 smoke/block/b.rb
steep-0.27.0 smoke/block/b.rb
steep-0.25.0 smoke/block/b.rb
steep-0.24.0 smoke/block/b.rb
steep-0.23.0 smoke/block/b.rb
steep-0.22.0 smoke/block/b.rb
steep-0.21.0 smoke/block/b.rb
steep-0.20.0 smoke/block/b.rb