Sha256: 5e17305bc3782ce79b5da2731b2045bea3d74b861bc30a0d16254dcea65174d2
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
--- test: a.rb: diagnostics: - | a.rb:8:2: [error] Cannot assign a value of type `::Foo` to a variable of type `::String` │ ::Foo <: ::String │ ::Object <: ::String │ ::BasicObject <: ::String │ │ Diagnostic ID: Ruby::IncompatibleAssignment │ └ string = x ~~~~~~~~~~ b.rb: diagnostics: - | b.rb:7:0: [error] Cannot assign a value of type `::String` to a variable of type `::Integer` │ ::String <: ::Integer │ ::Object <: ::Integer │ ::BasicObject <: ::Integer │ │ Diagnostic ID: Ruby::IncompatibleAssignment │ └ integer = foo.f() ~~~~~~~~~~~~~~~~~ - | b.rb:10:0: [error] Cannot assign a value of type `::Object` to a variable of type `::Integer` │ ::Object <: ::Integer │ ::BasicObject <: ::Integer │ │ Diagnostic ID: Ruby::IncompatibleAssignment │ └ integer = "".f() ~~~~~~~~~~~~~~~~ c.rb: diagnostics: - | c.rb:6:4: [error] Cannot assign a value of type `::Object` to a variable of type `::String` │ ::Object <: ::String │ ::BasicObject <: ::String │ │ Diagnostic ID: Ruby::IncompatibleAssignment │ └ string = super() ~~~~~~~~~~~~~~~~ d.rb: diagnostics: [] e.rb: diagnostics: []
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
steep-0.40.0 | smoke/extension/test.yaml |