Sha256: f7e16cb932a88eb8e35347e314604ba5bf25ab6ff6f32af3dadb41c38af2ef0a

Contents?: true

Size: 371 Bytes

Versions: 3

Compression:

Stored size: 371 Bytes

Contents

def foo(a)
  a[0]
end
def bar(n); end
def baz(n); end
def qux(n); end
def quux(n); end

a = [42, "str"]
foo(a)
bar(a[0])
n = 1
baz(a[n])
qux(a[2])
n = 0+0
quux(a[n])

__END__
# Classes
class Object
  private
  def foo: ([Integer, String]) -> Integer
  def bar: (Integer) -> nil
  def baz: (String) -> nil
  def qux: (nil) -> nil
  def quux: (Integer | String) -> nil
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typeprof-0.9.2 smoke/array1.rb
typeprof-0.9.1 smoke/array1.rb
typeprof-0.9.0 smoke/array1.rb