class Steep::Interface::Instantiated
def validate_method(check, method)
def validate_method(check, method) if method.super_method result = check.check_method(method.name, method, method.super_method, assumption: Set.new, trace: Subtyping::Trace.new, constraints: Subtyping::Constraints.empty) if result.success? validate_method(check, method.super_method) else raise InvalidMethodOverrideError.new(type: type, current_method: method, super_method: method.super_method, result: result) end end end