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