Sha256: 930d7f822e5e04a8d087de5317d620ce52d69b57a913abcf26da1017856dde5e

Contents?: true

Size: 175 Bytes

Versions: 11

Compression:

Stored size: 175 Bytes

Contents

def foo(n)
  z = "str"
  n.times {|i| z = i }
  n.times { z = 42 }
  z
end

foo(42)

__END__
# Classes
class Object
  private
  def foo: (Integer n) -> (Integer | String)
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/int_times.rb
typeprof-0.15.3 smoke/int_times.rb
typeprof-0.15.2 smoke/int_times.rb
typeprof-0.15.1 smoke/int_times.rb
typeprof-0.15.0 smoke/int_times.rb
typeprof-0.14.1 smoke/int_times.rb
typeprof-0.14.0 smoke/int_times.rb
typeprof-0.13.0 smoke/int_times.rb
typeprof-0.12.0 smoke/int_times.rb
typeprof-0.11.0 smoke/int_times.rb
typeprof-0.10.0 smoke/int_times.rb