Sha256: cdf3efe5353f4f6480cf3b5ef71aaa011e95f43b631577ea750daa0ba0f16d88

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 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: 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: 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

1 entries across 1 versions & 1 rubygems

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