[Concurrency] Don't spuriously record protocols inherited by Actor.

This commit is contained in:
Doug Gregor
2021-02-10 15:47:44 -08:00
parent e1480324ee
commit 43df1d8363
3 changed files with 4 additions and 11 deletions

View File

@@ -467,15 +467,7 @@ public:
// not extensions of that 'actor class'.
if (actorClass &&
inherited->isSpecificProtocol(KnownProtocolKind::Actor))
return TypeWalker::Action::Continue;
#if false
// If the protocol is a marker protocol, print it separately.
if (inherited->isMarkerProtocol()) {
protocolsToPrint.push_back({inherited, protoAndAvailability.second});
return TypeWalker::Action::SkipChildren;
}
#endif
if (inherited->isSPI() && !printOptions.PrintSPIs)
return TypeWalker::Action::Continue;