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.19.0 smoke/block/b.rb
steep-0.18.0 smoke/block/b.rb
steep-0.17.1 smoke/block/b.rb
steep-0.17.0 smoke/block/b.rb
steep-0.16.3 smoke/block/b.rb
steep-0.16.2 smoke/block/b.rb
steep-0.16.1 smoke/block/b.rb
steep-0.16.0 smoke/block/b.rb
steep-0.15.0 smoke/block/b.rb
steep-0.14.0 smoke/block/b.rb
steep-0.13.0 smoke/block/b.rb
steep-0.12.0 smoke/block/b.rb
steep-0.11.1 smoke/block/b.rb
steep-0.11.0 smoke/block/b.rb
steep-0.10.0 smoke/block/b.rb
steep-0.9.0 smoke/block/b.rb
steep-0.8.2 smoke/block/b.rb
steep-0.8.1 smoke/block/b.rb
steep-0.8.0 smoke/block/b.rb
steep-0.7.1 smoke/block/b.rb