Sha256: 9a3eb45b559f773478b2c1e0a1125e256043cb93fd8ef9709f46fd4b9f7d155f
Contents?: true
Size: 208 Bytes
Versions: 11
Compression:
Stored size: 208 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 x) -> Integer end
Version data entries
11 entries across 11 versions & 1 rubygems