Sha256: cf519e65076b4d021db70c7bb51bb235702b22e8c083ea6b6cc147b06a30ba35

Contents?: true

Size: 738 Bytes

Versions: 16

Compression:

Stored size: 738 Bytes

Contents

# @type var hash: Hash<Symbol, String>

a = [1]

# !expects IncompatibleAssignment: lhs_type=::Hash<::Symbol, ::String>, rhs_type=::String
hash = a.each.with_object("") do |x, y|
  # !expects IncompatibleAssignment: lhs_type=::Hash<::Symbol, ::String>, rhs_type=::Integer
  hash = x
  # !expects IncompatibleAssignment: lhs_type=::Hash<::Symbol, ::String>, rhs_type=::String
  hash = y
end

# !expects IncompatibleAssignment: lhs_type=::Hash<::Symbol, ::String>, rhs_type=::Array<::Integer>
hash = a.each.with_index do |x, y|
  # !expects IncompatibleAssignment: lhs_type=::Hash<::Symbol, ::String>, rhs_type=::Integer
  hash = x
  # !expects IncompatibleAssignment: lhs_type=::Hash<::Symbol, ::String>, rhs_type=::Integer
  hash = y
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
steep-0.11.1 smoke/enumerator/a.rb
steep-0.11.0 smoke/enumerator/a.rb
steep-0.10.0 smoke/enumerator/a.rb
steep-0.9.0 smoke/enumerator/a.rb
steep-0.8.2 smoke/enumerator/a.rb
steep-0.8.1 smoke/enumerator/a.rb
steep-0.8.0 smoke/enumerator/a.rb
steep-0.7.1 smoke/enumerator/a.rb
steep-0.7.0 smoke/enumerator/a.rb
steep-0.6.0 smoke/enumerator/a.rb
steep-0.5.1 smoke/enumerator/a.rb
steep-0.5.0 smoke/enumerator/a.rb
steep-0.4.0 smoke/enumerator/a.rb
steep-0.3.0 smoke/enumerator/a.rb
steep-0.2.0 smoke/enumerator/a.rb
steep-0.1.0 smoke/enumerator/a.rb