Sha256: 94f3bdf64340084ce5285efe941f9b836cc0ac05f5b3ba10f768cd2ccb1e82fc
Contents?: true
Size: 206 Bytes
Versions: 3
Compression:
Stored size: 206 Bytes
Contents
def foo(x) x.is_a?(Integer) ? x : x 1 end foo(unknown) __END__ # Errors smoke/flow2.rb:5: [error] undefined method: Object#unknown # Classes class Object private def foo: (untyped) -> Integer end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.9.2 | smoke/flow2.rb |
typeprof-0.9.1 | smoke/flow2.rb |
typeprof-0.9.0 | smoke/flow2.rb |