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.7.0 smoke/block/b.rb
steep-0.6.0 smoke/block/b.rb
steep-0.5.1 smoke/block/b.rb
steep-0.5.0 smoke/block/b.rb
steep-0.4.0 smoke/block/b.rb
steep-0.3.0 smoke/block/b.rb
steep-0.2.0 smoke/block/b.rb
steep-0.1.0 smoke/block/b.rb