File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -467,15 +467,7 @@ class InheritedProtocolCollector {
467
467
// not extensions of that 'actor class'.
468
468
if (actorClass &&
469
469
inherited->isSpecificProtocol (KnownProtocolKind::Actor))
470
- return TypeWalker::Action::Continue;
471
-
472
- #if false
473
- // If the protocol is a marker protocol, print it separately.
474
- if (inherited->isMarkerProtocol ()) {
475
- protocolsToPrint.push_back ({inherited, protoAndAvailability.second });
476
470
return TypeWalker::Action::SkipChildren;
477
- }
478
- #endif
479
471
480
472
if (inherited->isSPI () && !printOptions.PrintSPIs )
481
473
return TypeWalker::Action::Continue;
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-swift-frontend -emit-module -o %t/Test.swiftmodule -emit-module-interface-path %t/Test.swiftinterface -module-name Test -enable-experimental-concurrency %s
3
3
// RUN: %FileCheck %s --check-prefix FROMSOURCE --check-prefix CHECK < %t/Test.swiftinterface
4
+ // RUN: %target-swift-frontend -typecheck-module-from-interface -module-name Test %t/Test.swiftinterface
5
+
4
6
// RUN: %target-swift-frontend -emit-module -o /dev/null -merge-modules %t/Test.swiftmodule -disable-objc-attr-requires-foundation-module -emit-module-interface-path %t/TestFromModule.swiftinterface -module-name Test -enable-experimental-concurrency
5
7
// RUN: %FileCheck %s --check-prefix FROMMODULE --check-prefix CHECK < %t/TestFromModule.swiftinterface
8
+ // RUN: %target-swift-frontend -typecheck-module-from-interface -module-name Test %t/TestFromModule.swiftinterface
6
9
7
10
// REQUIRES: concurrency
8
11
Original file line number Diff line number Diff line change @@ -77,9 +77,7 @@ public func runSomethingSomewhere(body: () async -> Void) { }
77
77
// CHECK-NEXT: #endif
78
78
public func stage( with actor : MyActor ) { }
79
79
80
- // CHECK: #if compiler(>=5.3) && $MarkerProtocol
81
- // CHECK-NEXT: extension FeatureTest.MyActor : Swift.ConcurrentValue {}
82
- // CHECK-NEXT: #endif
80
+ // CHECK-NOT: extension FeatureTest.MyActor : Swift.ConcurrentValue
83
81
84
82
// CHECK: #if compiler(>=5.3) && $MarkerProtocol
85
83
// CHECK-NEXT: extension FeatureTest.OldSchool : FeatureTest.MP {
You can’t perform that action at this time.
0 commit comments