File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
Tests/TestingMacrosTests/TestSupport Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,8 @@ extension Array where Element == PackageDescription.SwiftSetting {
288288 // new-enough toolchain.
289289 . enableExperimentalFeature( " AllowUnsafeAttribute " ) ,
290290
291+ . enableUpcomingFeature( " InferIsolatedConformances " ) ,
292+
291293 // When building as a package, the macro plugin always builds as an
292294 // executable rather than a library.
293295 . define( " SWT_NO_LIBRARY_MACRO_PLUGINS " ) ,
Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ extension Configuration.TestFilter.Kind {
514514
515515/// A protocol representing a value which can be filtered using
516516/// ``Configuration/TestFilter-swift.struct``.
517- private protocol _FilterableItem {
517+ private protocol _FilterableItem: Sendable {
518518 /// The test this item represents.
519519 var test : Test { get }
520520
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import SwiftSyntaxBuilder
1919import SwiftSyntaxMacros
2020import SwiftSyntaxMacroExpansion
2121
22- fileprivate let allMacros : [ String : any Macro . Type ] = [
22+ fileprivate let allMacros : [ String : any ( Macro & Sendable ) . Type] = [
2323 " expect " : ExpectMacro . self,
2424 " require " : RequireMacro . self,
2525 " requireAmbiguous " : AmbiguousRequireMacro . self, // different name needed only for unit testing
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ add_compile_options(
1717add_compile_options (
1818 "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-upcoming-feature -Xfrontend ExistentialAny>"
1919 "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-upcoming-feature -Xfrontend InternalImportsByDefault>"
20- "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-upcoming-feature -Xfrontend MemberImportVisibility>" )
20+ "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-upcoming-feature -Xfrontend MemberImportVisibility>"
21+ "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-upcoming-feature -Xfrontend InferIsolatedConformances>" )
2122
2223# Platform-specific definitions.
2324if (APPLE )
You can’t perform that action at this time.
0 commit comments