Sha256: 85626e37c531838e683d9e991d0ec6979ad8f85dba229e35379da8151a090a1a

Contents?: true

Size: 1.58 KB

Versions: 47

Compression:

Stored size: 1.58 KB

Contents

---
- file: a.rb
  diagnostics:
  - range:
      start:
        line: 4
        character: 0
      end:
        line: 9
        character: 7
    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: 7
        character: 6
      end:
        line: 7
        character: 14
    severity: ERROR
    message: |-
      Cannot assign a value of type `::Symbol` to a variable of type `::Integer`
        ::Symbol <: ::Integer
          ::Object <: ::Integer
            ::BasicObject <: ::Integer
    code: Ruby::IncompatibleAssignment
  - range:
      start:
        line: 13
        character: 4
      end:
        line: 13
        character: 7
    severity: ERROR
    message: |-
      Cannot allow method body have type `::Integer` because declared as type `::String`
        ::Integer <: ::String
          ::Numeric <: ::String
            ::Object <: ::String
              ::BasicObject <: ::String
    code: Ruby::MethodBodyTypeMismatch
  - range:
      start:
        line: 16
        character: 2
      end:
        line: 16
        character: 9
    severity: ERROR
    message: |-
      Cannot find compatible overloading of method `+` of type `::Integer`
      Method types:
        def +: (::Integer) -> ::Integer
             | (::Float) -> ::Float
             | (::Rational) -> ::Rational
             | (::Complex) -> ::Complex
    code: Ruby::UnresolvedOverloading

Version data entries

47 entries across 47 versions & 1 rubygems

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