Sha256: 123f1c7f07d02a605124976737ff995359c508cf1c5d8e43f4abd2d43b9a6029

Contents?: true

Size: 1.29 KB

Versions: 4

Compression:

Stored size: 1.29 KB

Contents

---
- file: a.rb
  diagnostics:
  - range:
      start:
        line: 7
        character: 4
      end:
        line: 7
        character: 10
    severity: ERROR
    message: Type `(::Integer | ::String)` does not have method `foobar`
    code: Ruby::NoMethod
  - range:
      start:
        line: 12
        character: 2
      end:
        line: 12
        character: 10
    severity: ERROR
    message: The branch is unreachable
    code: Ruby::UnreachableBranch
  - range:
      start:
        line: 12
        character: 4
      end:
        line: 12
        character: 10
    severity: ERROR
    message: Type `(::Integer | ::String | ::Symbol)` does not have method `foobar`
    code: Ruby::NoMethod
  - range:
      start:
        line: 17
        character: 4
      end:
        line: 17
        character: 10
    severity: ERROR
    message: Type `1` does not have method `foobar`
    code: Ruby::NoMethod
  - range:
      start:
        line: 23
        character: 2
      end:
        line: 23
        character: 7
    severity: ERROR
    message: |-
      Type annotation about `x` is incompatible since ::Integer <: ::String doesn't hold
        ::Integer <: ::String
          ::Numeric <: ::String
            ::Object <: ::String
              ::BasicObject <: ::String
    code: Ruby::IncompatibleAnnotation

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
steep-1.5.0.pre.4 smoke/type_case/test_expectations.yml
steep-1.5.0.pre.3 smoke/type_case/test_expectations.yml
steep-1.5.0.pre.2 smoke/type_case/test_expectations.yml
steep-1.5.0.pre.1 smoke/type_case/test_expectations.yml