@@ -693,7 +693,7 @@ class InheritedProtocolCollector {
693693 proto->walkInheritedProtocols (
694694 [&](ProtocolDecl *inherited) -> TypeWalker::Action {
695695 if (!handledProtocols.insert (inherited).second )
696- return TypeWalker::Action::SkipChildren ;
696+ return TypeWalker::Action::SkipNode ;
697697
698698 // If 'nominal' is an actor, we do not synthesize its conformance
699699 // to the Actor protocol through a dummy extension.
@@ -702,14 +702,14 @@ class InheritedProtocolCollector {
702702 // not extensions of that 'actor'.
703703 if (actorClass &&
704704 inherited->isSpecificProtocol (KnownProtocolKind::Actor))
705- return TypeWalker::Action::SkipChildren ;
705+ return TypeWalker::Action::SkipNode ;
706706
707707 // Do not synthesize an extension to print a conformance to an
708708 // invertible protocol, as their conformances are always re-inferred
709709 // using the interface itself.
710710 if (auto kp = inherited->getKnownProtocolKind ())
711711 if (getInvertibleProtocolKind (*kp))
712- return TypeWalker::Action::SkipChildren ;
712+ return TypeWalker::Action::SkipNode ;
713713
714714 if (inherited->isSPI () && printOptions.printPublicInterface ())
715715 return TypeWalker::Action::Continue;
@@ -721,7 +721,7 @@ class InheritedProtocolCollector {
721721 inherited, availability, isUnchecked, otherAttrs);
722722 printSynthesizedExtension (out, extensionPrintOptions, M, nominal,
723723 protoAndAvailability);
724- return TypeWalker::Action::SkipChildren ;
724+ return TypeWalker::Action::SkipNode ;
725725 }
726726
727727 return TypeWalker::Action::Continue;
0 commit comments