Sha256: d8f56ec31e5cdce7e7540ee16123a9bbd86b7302c38159cfe7fa4ce459b9337f

Contents?: true

Size: 164 Bytes

Versions: 11

Compression:

Stored size: 164 Bytes

Contents

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

foo(42)

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
typeprof-0.7.0 smoke/int_times.rb
typeprof-0.6.1 smoke/int_times.rb
typeprof-0.6.0 smoke/int_times.rb
typeprof-0.5.4 smoke/int_times.rb
typeprof-0.5.3 smoke/int_times.rb
typeprof-0.5.2 smoke/int_times.rb
typeprof-0.5.1 smoke/int_times.rb
typeprof-0.5.0 smoke/int_times.rb
typeprof-0.4.2 smoke/int_times.rb
typeprof-0.4.1 smoke/int_times.rb
typeprof-0.4.0 smoke/int_times.rb