Sha256: 7cb5bd9b946d036fa855e70c6ef0d05bc40422373d12af389b1304dde1cc5410
Contents?: true
Size: 1.4 KB
Versions: 1
Compression:
Stored size: 1.4 KB
Contents
--- test: a.rb: diagnostics: - | a.rb:6:4: [error] Cannot assign a value of type `::Object` to a variable of type `::Integer` │ ::Object <: ::Integer │ ::BasicObject <: ::Integer │ │ Diagnostic ID: Ruby::IncompatibleAssignment │ └ a = super(x) ~~~~~~~~~~~~ - | a.rb:7:4: [error] Cannot assign a value of type `::Object` to a variable of type `::Integer` │ ::Object <: ::Integer │ ::BasicObject <: ::Integer │ │ Diagnostic ID: Ruby::IncompatibleAssignment │ └ a = super ~~~~~~~~~ - | a.rb:19:4: [error] Cannot detect the type of the expression │ Diagnostic ID: Ruby::FallbackAny │ └ super() ~~~~~~~ - | a.rb:20:4: [error] Cannot detect the type of the expression │ Diagnostic ID: Ruby::FallbackAny │ └ super ~~~~~ - | a.rb:26:4: [error] UnexpectedSuper │ Diagnostic ID: Ruby::UnexpectedSuper │ └ super() ~~~~~~~ - | a.rb:28:4: [error] UnexpectedSuper │ Diagnostic ID: Ruby::UnexpectedSuper │ └ super ~~~~~ - | a.rb:28:4: [error] Cannot detect the type of the expression │ Diagnostic ID: Ruby::FallbackAny │ └ super ~~~~~
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
steep-0.40.0 | smoke/super/test.yaml |