Sha256: 3f21e315ad07196f85c7ae79d2a046c8c9992b9eaf4684a30a9d0c1a8db4bc5d

Contents?: true

Size: 560 Bytes

Versions: 48

Compression:

Stored size: 560 Bytes

Contents

class A
  def foo(x)
    # @type self: A

    # @type var a: Integer
    # !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=::Object
    a = super(x)
    # !expects IncompatibleAssignment: lhs_type=::Integer, rhs_type=::Object
    a = super

    # @type var b: Object
    b = super(x)

    # @type var c: Integer
    c = foo(x)
  end

  def bar()
    # @type self: A

    super()
    super
  end

  def baz
    # @type self: A

    # !expects UnexpectedSuper: method=baz
    super()

    # !expects UnexpectedSuper: method=baz
    super
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

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