Sha256: 04a7eadc28ae10d4816e02d6d7bd02c3b739d5388c6be51174e252c1a00e8912

Contents?: true

Size: 207 Bytes

Versions: 32

Compression:

Stored size: 207 Bytes

Contents

# @type var x: Hash[Symbol, String?]

x = { foo: "foo" }
x = { foo: nil }

# !expects IncompatibleAssignment: lhs_type=::Hash[::Symbol, (::String | nil)], rhs_type=::Hash[::Symbol, ::Integer]
x = { foo: 3 }

Version data entries

32 entries across 32 versions & 1 rubygems

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