Sha256: 91c38b997466ef16917ccd9fd6936aed18d40cdef131e5b5064e6047e224ded7

Contents?: true

Size: 1.73 KB

Versions: 5

Compression:

Stored size: 1.73 KB

Contents

---
- file: a.rb
  diagnostics:
  - range:
      start:
        line: 7
        character: 0
      end:
        line: 7
        character: 38
    severity: ERROR
    message: |-
      Cannot assign a value of type `^() -> ::Hash[::Integer, ::Array[::Integer]]` to a variable of type `^() { (::Integer) -> void } -> void`
        ^() -> ::Hash[::Integer, ::Array[::Integer]] <: ^() { (::Integer) -> void } -> void
    code: Ruby::IncompatibleAssignment
  - range:
      start:
        line: 7
        character: 34
      end:
        line: 7
        character: 35
    severity: ERROR
    message: Cannot detect the type of the expression
    code: Ruby::FallbackAny
  - range:
      start:
        line: 9
        character: 0
      end:
        line: 9
        character: 41
    severity: ERROR
    message: |-
      Cannot assign a value of type `^(::Integer) -> ::Array[::Integer]` to a variable of type `^(::Integer) { (::Integer) -> void } -> void`
        ^(::Integer) -> ::Array[::Integer] <: ^(::Integer) { (::Integer) -> void } -> void
    code: Ruby::IncompatibleAssignment
  - range:
      start:
        line: 9
        character: 37
      end:
        line: 9
        character: 38
    severity: ERROR
    message: Cannot detect the type of the expression
    code: Ruby::FallbackAny
  - range:
      start:
        line: 12
        character: 0
      end:
        line: 12
        character: 39
    severity: ERROR
    message: |-
      Cannot assign a value of type `::Array[::Integer]` to a variable of type `::Array[::String]`
        ::Array[::Integer] <: ::Array[::String]
          ::Integer <: ::String
            ::Numeric <: ::String
              ::Object <: ::String
                ::BasicObject <: ::String
    code: Ruby::IncompatibleAssignment

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
steep-0.44.1 smoke/tsort/test_expectations.yml
steep-0.44.0 smoke/tsort/test_expectations.yml
steep-0.43.1 smoke/tsort/test_expectations.yml
steep-0.43.0 smoke/tsort/test_expectations.yml
steep-0.42.0 smoke/tsort/test_expectations.yml