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.39.0 smoke/block/d.rb
steep-0.38.0 smoke/block/d.rb
steep-0.37.0 smoke/block/d.rb
steep-0.36.0 smoke/block/d.rb
steep-0.35.0 smoke/block/d.rb
steep-0.34.0 smoke/block/d.rb
steep-0.33.0 smoke/block/d.rb
steep-0.32.0 smoke/block/d.rb
steep-0.31.1 smoke/block/d.rb
steep-0.31.0 smoke/block/d.rb
steep-0.30.0 smoke/block/d.rb
steep-0.29.0 smoke/block/d.rb
steep-0.28.0 smoke/block/d.rb
steep-0.27.0 smoke/block/d.rb
steep-0.25.0 smoke/block/d.rb
steep-0.24.0 smoke/block/d.rb
steep-0.23.0 smoke/block/d.rb
steep-0.22.0 smoke/block/d.rb
steep-0.21.0 smoke/block/d.rb
steep-0.20.0 smoke/block/d.rb