Sha256: 0c0b60eaa14c2424920ae6aed798dbb1059ed68db470f3b195aa3eafeb427407

Contents?: true

Size: 226 Bytes

Versions: 13

Compression:

Stored size: 226 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
  def bar : -> untyped
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
typeprof-0.7.0 smoke/manual-rbs2.rb
typeprof-0.6.1 smoke/manual-rbs2.rb
typeprof-0.6.0 smoke/manual-rbs2.rb
typeprof-0.5.4 smoke/manual-rbs2.rb
typeprof-0.5.3 smoke/manual-rbs2.rb
typeprof-0.5.2 smoke/manual-rbs2.rb
typeprof-0.5.1 smoke/manual-rbs2.rb
typeprof-0.5.0 smoke/manual-rbs2.rb
typeprof-0.4.2 smoke/manual-rbs2.rb
typeprof-0.4.1 smoke/manual-rbs2.rb
typeprof-0.4.0 smoke/manual-rbs2.rb
typeprof-0.3.0 smoke/manual-rbs2.rb
typeprof-0.2.0 smoke/manual-rbs2.rb