Sha256: 2ae728e51493d24e1f74251d173eb471717f64a1d64a20d9488cc42b8e8ae9e5

Contents?: true

Size: 384 Bytes

Versions: 12

Compression:

Stored size: 384 Bytes

Contents

class IncompatibleChild
  def foo(arg)
    # @type var x: Symbol
    # !expects IncompatibleAssignment: lhs_type=::Symbol, rhs_type=::Integer
    x = super()

    "123"
  end

  def initialize()
    # !expects IncompatibleArguments: receiver=::IncompatibleChild, method_type=(name: ::String) -> any
    super()

    # !expects IncompatibleZuper: method=initialize
    super
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
steep-0.11.1 smoke/class/i.rb
steep-0.11.0 smoke/class/i.rb
steep-0.10.0 smoke/class/i.rb
steep-0.9.0 smoke/class/i.rb
steep-0.8.2 smoke/class/i.rb
steep-0.8.1 smoke/class/i.rb
steep-0.8.0 smoke/class/i.rb
steep-0.7.1 smoke/class/i.rb
steep-0.7.0 smoke/class/i.rb
steep-0.6.0 smoke/class/i.rb
steep-0.5.1 smoke/class/i.rb
steep-0.5.0 smoke/class/i.rb