--- - file: a.rb diagnostics: - range: start: line: 4 character: 0 end: line: 4 character: 5 severity: ERROR message: |- Cannot assign a value of type `::Integer` to a variable of type `::String` ::Integer <: ::String ::Numeric <: ::String ::Object <: ::String ::BasicObject <: ::String code: Ruby::IncompatibleAssignment - range: start: line: 6 character: 4 end: line: 6 character: 5 severity: ERROR message: Cannot detect the type of the expression code: Ruby::FallbackAny - range: start: line: 14 character: 4 end: line: 14 character: 9 severity: ERROR message: |- Cannot assign a value of type `::Integer` to a variable of type `::String` ::Integer <: ::String ::Numeric <: ::String ::Object <: ::String ::BasicObject <: ::String code: Ruby::IncompatibleAssignment - range: start: line: 16 character: 8 end: line: 16 character: 9 severity: ERROR message: Cannot detect the type of the expression code: Ruby::FallbackAny - range: start: line: 23 character: 0 end: line: 23 character: 17 severity: ERROR message: |- Cannot assign a value of type `::Integer` to a variable of type `::String` ::Integer <: ::String ::Numeric <: ::String ::Object <: ::String ::BasicObject <: ::String code: Ruby::IncompatibleAssignment - range: start: line: 26 character: 4 end: line: 26 character: 10 severity: ERROR message: Cannot detect the type of the expression code: Ruby::FallbackAny - range: start: line: 26 character: 4 end: line: 26 character: 15 severity: ERROR message: Cannot detect the type of the expression code: Ruby::FallbackAny - range: start: line: 27 character: 0 end: line: 27 character: 19 severity: ERROR message: |- Cannot assign a value of type `::Integer` to a variable of type `::String` ::Integer <: ::String ::Numeric <: ::String ::Object <: ::String ::BasicObject <: ::String code: Ruby::IncompatibleAssignment - file: b.rb diagnostics: - range: start: line: 3 character: 4 end: line: 3 character: 17 severity: ERROR message: |- Cannot assign a value of type `::String` to a constant of type `::Integer` ::String <: ::Integer ::Object <: ::Integer ::BasicObject <: ::Integer code: Ruby::IncompatibleAssignment - range: start: line: 5 character: 4 end: line: 5 character: 8 severity: ERROR message: Cannot find the declaration of constant `Baz2` code: Ruby::UnknownConstantAssigned