--- - file: duplicated-method-definition.rbs diagnostics: - range: start: line: 2 character: 2 end: line: 2 character: 21 severity: ERROR message: Non-overloading method definition of `foo` in `::DuplicatedMethodDefinitionError` cannot be duplicated code: Ruby::DuplicatedMethodDefinition - range: start: line: 6 character: 4 end: line: 6 character: 21 severity: ERROR message: Non-overloading method definition of `f` in `::DuplicatedMethodDefinitionError::_Hello` cannot be duplicated code: Ruby::DuplicatedMethodDefinition - range: start: line: 18 character: 4 end: line: 18 character: 23 severity: ERROR message: Non-overloading method definition of `g` in `::DuplicatedMethodDefinitionError::A` cannot be duplicated code: Ruby::DuplicatedMethodDefinition - file: generic-parameter-mismatch.rbs diagnostics: - range: start: line: 5 character: 2 end: line: 6 character: 5 severity: ERROR message: Different generic parameters are specified across definitions of `::GenericParameterMismatchError::Foo` code: Ruby::GenericParameterMismatch - file: invalid-method-overload.rbs diagnostics: - range: start: line: 2 character: 2 end: line: 2 character: 27 severity: ERROR message: Cannot find a non-overloading definition of `foo` in `::InvalidMethodOverload` code: Ruby::InvalidMethodOverload - file: invalid-type-application.rbs diagnostics: - range: start: line: 2 character: 13 end: line: 2 character: 23 severity: ERROR message: Type `::Integer` is not generic but used as a generic type with 1 arguments code: Ruby::InvalidTypeApplication - range: start: line: 4 character: 13 end: line: 4 character: 24 severity: ERROR message: Type `::Array` expects 1 arguments, but 2 arguments are given code: Ruby::InvalidTypeApplication - range: start: line: 6 character: 13 end: line: 6 character: 17 severity: ERROR message: Type `::Hash` is generic but used as a non generic type code: Ruby::InvalidTypeApplication - file: invalid_variance_annotation.rbs diagnostics: - range: start: line: 2 character: 11 end: line: 2 character: 22 severity: ERROR message: The variance of type parameter `A` is covariant, but used in incompatible position here code: Ruby::InvalidVarianceAnnotation - file: recursive-alias.rbs diagnostics: - range: start: line: 2 character: 2 end: line: 2 character: 15 severity: ERROR message: 'Circular method alias is detected in `::RecursiveAlias`: foo -> bar -> baz' code: Ruby::RecursiveAlias - file: recursive-class.rbs diagnostics: - range: start: line: 1 character: 0 end: line: 2 character: 3 severity: ERROR message: 'Circular inheritance/mix-in is detected: ::Foo <: ::Bar <: ::Baz <: ::Foo' code: Ruby::RecursiveAncestor - range: start: line: 4 character: 0 end: line: 5 character: 3 severity: ERROR message: 'Circular inheritance/mix-in is detected: ::Bar <: ::Baz <: ::Foo <: ::Bar' code: Ruby::RecursiveAncestor - range: start: line: 7 character: 0 end: line: 8 character: 3 severity: ERROR message: 'Circular inheritance/mix-in is detected: ::Baz <: ::Foo <: ::Bar <: ::Baz' code: Ruby::RecursiveAncestor - file: superclass-mismatch.rbs diagnostics: - range: start: line: 2 character: 2 end: line: 3 character: 5 severity: ERROR message: Different superclasses are specified for `::SuperclassMismatch::Foo` code: Ruby::SuperclassMismatch - file: unknown-method-alias.rbs diagnostics: - range: start: line: 2 character: 2 end: line: 2 character: 15 severity: ERROR message: Cannot find the original method `bar` in `::UnknownMethodAlias` code: Ruby::UnknownMethodAlias - file: unknown-type-name.rbs diagnostics: - range: start: line: 2 character: 13 end: line: 2 character: 16 severity: ERROR message: Cannot find type `::bar` code: Ruby::UnknownTypeName - range: start: line: 4 character: 9 end: line: 4 character: 14 severity: ERROR message: Cannot find type `::World` code: Ruby::UnknownTypeName - range: start: line: 6 character: 2 end: line: 6 character: 15 severity: ERROR message: Cannot find type `World` code: Ruby::UnknownTypeName - range: start: line: 8 character: 2 end: line: 9 character: 5 severity: ERROR message: Cannot find type `ABC` code: Ruby::UnknownTypeName - range: start: line: 11 character: 15 end: line: 11 character: 18 severity: ERROR message: Cannot find type `ZZZ` code: Ruby::UnknownTypeName