mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Concurrency] Don't spuriously record protocols inherited by Actor.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user