Sha256: 7fc0c10a1532a87b9a951407c177c5824c5a962cc41275d933483165271b7536
Contents?: true
Size: 1.31 KB
Versions: 10
Compression:
Stored size: 1.31 KB
Contents
--- - file: a.rb diagnostics: - range: start: line: 5 character: 7 end: line: 6 character: 3 severity: ERROR message: |- Cannot find compatible overloading of method `with_object` of type `::Enumerator[::Integer, ::Array[::Integer]]` Method types: def with_object: [U] (U) { (::Integer, U) -> untyped } -> U | [U] (U) -> ::Enumerator[[::Integer, U], U] code: Ruby::UnresolvedOverloading - file: b.rb diagnostics: - range: start: line: 11 character: 8 end: line: 11 character: 14 severity: ERROR message: |- Cannot pass a value of type `::String` as an argument of type `::Integer` ::String <: ::Integer ::Object <: ::Integer ::BasicObject <: ::Integer code: Ruby::ArgumentTypeMismatch - range: start: line: 15 character: 4 end: line: 17 character: 3 severity: ERROR message: |- Cannot find compatible overloading of method `with_object` of type `::Enumerator[::Integer, ::Array[::Integer]]` Method types: def with_object: [U] (U) { (::Integer, U) -> untyped } -> U | [U] (U) -> ::Enumerator[[::Integer, U], U] code: Ruby::UnresolvedOverloading
Version data entries
10 entries across 10 versions & 1 rubygems