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