class Steep::Interface::Instantiated::InvalidMethodOverrideError
def initialize(type:, current_method:, super_method:, result:)
def initialize(type:, current_method:, super_method:, result:) @type = type @current_method = current_method @super_method = super_method @result = result super "Invalid override of `#{current_method.name}` in #{type}: definition in #{current_method.type_name} is not compatible with its super (#{super_method.type_name})" end