Sha256: a67aaf711639767e55f05708d42aaff8afe9a9c6540ef6a96c5ff49e4f800b0a

Contents?: true

Size: 526 Bytes

Versions: 32

Compression:

Stored size: 526 Bytes

Contents

# @type var a: ^(Integer) -> String
a = -> (x) { x.to_s }

# @type var b: Array[Float]

# !expects IncompatibleAssignment: lhs_type=::Array[::Float], rhs_type=::Array[::String]
b = [1,2,3].map(&a)

# !expects IncompatibleAssignment: lhs_type=::Array[::Float], rhs_type=::Array[::String]
b = [1,2,3].map(&:to_s)

# !expects* UnresolvedOverloading: receiver=::Array[::Integer], method_name=map,
[1,2,3].map(&:no_such_method)
# !expects* UnresolvedOverloading: receiver=::Array[::Integer], method_name=map,
[1,2,3].map(&:divmod)

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
steep-0.19.0 smoke/block/d.rb
steep-0.18.0 smoke/block/d.rb
steep-0.17.1 smoke/block/d.rb
steep-0.17.0 smoke/block/d.rb
steep-0.16.3 smoke/block/d.rb
steep-0.16.2 smoke/block/d.rb
steep-0.16.1 smoke/block/d.rb
steep-0.16.0 smoke/block/d.rb
steep-0.15.0 smoke/block/d.rb
steep-0.14.0 smoke/block/d.rb
steep-0.13.0 smoke/block/d.rb
steep-0.12.0 smoke/block/d.rb