Sha256: 743d345a2e32e011912826b5e413fdda4b467211892b11634fa738794f9731da

Contents?: true

Size: 1.33 KB

Versions: 11

Compression:

Stored size: 1.33 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: 11
        character: 0
      end:
        line: 11
        character: 4
    severity: ERROR
    message: The branch may evaluate to a value of `untyped` but unreachable
    code: Ruby::UnreachableValueBranch
  - 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

11 entries across 11 versions & 1 rubygems

Version Path
steep-1.6.0 smoke/type_case/test_expectations.yml
steep-1.6.0.pre.4 smoke/type_case/test_expectations.yml
steep-1.6.0.pre.3 smoke/type_case/test_expectations.yml
steep-1.6.0.pre.2 smoke/type_case/test_expectations.yml
steep-1.6.0.pre.1 smoke/type_case/test_expectations.yml
steep-1.5.3 smoke/type_case/test_expectations.yml
steep-1.5.2 smoke/type_case/test_expectations.yml
steep-1.5.1 smoke/type_case/test_expectations.yml
steep-1.5.0 smoke/type_case/test_expectations.yml
steep-1.5.0.pre.6 smoke/type_case/test_expectations.yml
steep-1.5.0.pre.5 smoke/type_case/test_expectations.yml