Sha256: a8dbec8e326b04ce81faef64a7e0d5c10d709a9a413a863c2a8eb36fe7b2034a
Contents?: true
Size: 853 Bytes
Versions: 1
Compression:
Stored size: 853 Bytes
Contents
--- test: a.rb: diagnostics: - | a.rb:5:0: [error] Cannot assign a value of type `(::Symbol | nil)` to a variable of type `::String` │ (::Symbol | nil) <: ::String │ ::Symbol <: ::String │ ::Object <: ::String │ ::BasicObject <: ::String │ │ Diagnostic ID: Ruby::IncompatibleAssignment │ └ a = if x ~~~~~~~~ - | a.rb:15:0: [error] Cannot assign a value of type `(::String | ::Integer)` to a variable of type `::String` │ (::String | ::Integer) <: ::String │ ::Integer <: ::String │ ::Numeric <: ::String │ ::Object <: ::String │ ::BasicObject <: ::String │ │ Diagnostic ID: Ruby::IncompatibleAssignment │ └ a = if z ~~~~~~~~
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
steep-0.40.0 | smoke/if/test.yaml |