Sha256: cca44c8b55e2fe0c6ab73e19dd6205707a7882a615a9bfbe9c6b086036d06c33

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

---
- file: a.rb
  diagnostics:
  - range:
      start:
        line: 8
        character: 2
      end:
        line: 8
        character: 12
    severity: ERROR
    message: |-
      Cannot assign a value of type `::Foo` to a variable of type `::String`
        ::Foo <: ::String
          ::Object <: ::String
            ::BasicObject <: ::String
    code: Ruby::IncompatibleAssignment
- file: b.rb
  diagnostics:
  - range:
      start:
        line: 7
        character: 0
      end:
        line: 7
        character: 17
    severity: ERROR
    message: |-
      Cannot assign a value of type `::String` to a variable of type `::Integer`
        ::String <: ::Integer
          ::Object <: ::Integer
            ::BasicObject <: ::Integer
    code: Ruby::IncompatibleAssignment
  - range:
      start:
        line: 10
        character: 0
      end:
        line: 10
        character: 16
    severity: ERROR
    message: |-
      Cannot assign a value of type `::Object` to a variable of type `::Integer`
        ::Object <: ::Integer
          ::BasicObject <: ::Integer
    code: Ruby::IncompatibleAssignment
- file: c.rb
  diagnostics:
  - range:
      start:
        line: 6
        character: 4
      end:
        line: 6
        character: 20
    severity: ERROR
    message: |-
      Cannot assign a value of type `::Object` to a variable of type `::String`
        ::Object <: ::String
          ::BasicObject <: ::String
    code: Ruby::IncompatibleAssignment

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
steep-0.41.0 smoke/extension/test_expectations.yml