Sha256: b11d57acf86a0ad38b3019d79c0bc713ef62971840008a0adfdd3db5c6f748c5

Contents?: true

Size: 374 Bytes

Versions: 32

Compression:

Stored size: 374 Bytes

Contents

class A
  # @implements X

  # !expects MethodBodyTypeMismatch: method=foo, expected=(::Integer | ::String), actual=::Symbol
  def foo(x)
    :foobar
  end
end

class B
  # @implements X

  # @type method foo: (::String | ::Integer) -> untyped
  def foo(x)
    3
  end
end

class C
  # @implements X

  # @type method foo: (Symbol) -> Symbol
  def foo(x)
    :foo
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

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