class Steep::Errors::IncompatibleMethodTypeAnnotation
def initialize(node:, interface_method:, annotation_method:, result:)
def initialize(node:, interface_method:, annotation_method:, result:) super(node: node) @interface_method = interface_method @annotation_method = annotation_method @result = result end
def to_s
def to_s "#{location_to_str}: IncompatibleMethodTypeAnnotation: interface_method=#{interface_method.type_name}.#{interface_method.name}, annotation_method=#{annotation_method.name}" end