Sha256: 9557889fc71011557d3442f23f03d4dcfdabb1a2cf6265585888ce2faf42bce1

Contents?: true

Size: 235 Bytes

Versions: 14

Compression:

Stored size: 235 Bytes

Contents

class A
  class B
    def foo
      unknown
    end
  end
end

def bar
  A::B.new.foo + 1
end

__END__
# Errors
smoke/manual-rbs2.rb:4: [error] undefined method: A::B#unknown

# Classes
class Object
  private
  def bar: -> untyped
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/manual-rbs2.rb
typeprof-0.15.3 smoke/manual-rbs2.rb
typeprof-0.15.2 smoke/manual-rbs2.rb
typeprof-0.15.1 smoke/manual-rbs2.rb
typeprof-0.15.0 smoke/manual-rbs2.rb
typeprof-0.14.1 smoke/manual-rbs2.rb
typeprof-0.14.0 smoke/manual-rbs2.rb
typeprof-0.13.0 smoke/manual-rbs2.rb
typeprof-0.12.0 smoke/manual-rbs2.rb
typeprof-0.11.0 smoke/manual-rbs2.rb
typeprof-0.10.0 smoke/manual-rbs2.rb
typeprof-0.9.2 smoke/manual-rbs2.rb
typeprof-0.9.1 smoke/manual-rbs2.rb
typeprof-0.9.0 smoke/manual-rbs2.rb