Skip to content

Commit a9d0a05

Browse files
committed
Add missing feature requirement
1 parent 61f182f commit a9d0a05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Macros/default_main_actor_nonisolated.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Check for errors
77
// RUN: %target-swift-frontend -swift-version 5 -typecheck -load-plugin-library %t/%target-library-name(MacroDefinition) %s -I %t -disable-availability-checking -swift-version 6 -default-isolation MainActor -enable-experimental-feature SendableProhibitsMainActorInference
88

9+
// REQUIRES: swift_feature_SendableProhibitsMainActorInference
910

1011
@attached(extension, conformances: Sendable)
1112
macro AddSendable() = #externalMacro(module: "MacroDefinition", type: "SendableMacro")

0 commit comments

Comments
 (0)