File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ extension Array where Element == PackageDescription.SwiftSetting {
118
118
. unsafeFlags( [ " -require-explicit-sendable " ] ) ,
119
119
. enableExperimentalFeature( " StrictConcurrency " ) ,
120
120
. enableUpcomingFeature( " ExistentialAny " ) ,
121
+ . enableUpcomingFeature( " InferSendableFromCaptures " ) ,
121
122
122
123
. enableExperimentalFeature( " AccessLevelOnImport " ) ,
123
124
. enableUpcomingFeature( " InternalImportsByDefault " ) ,
Original file line number Diff line number Diff line change @@ -165,8 +165,8 @@ struct TestsWithStaticMemberAccessBySelfKeyword {
165
165
@Test ( . hidden, arguments: Self . f ( max: 100 ) )
166
166
func g( i: Int ) { }
167
167
168
- @Test ( . hidden, arguments: [ UncheckedSendable ( rawValue : Self . f ( max: ) ) ] )
169
- func h( i: UncheckedSendable < ( Int ) -> Range < Int > > ) { }
168
+ @Test ( . hidden, arguments: [ Self . f ( max: ) ] )
169
+ func h( i: @ Sendable ( Int ) -> Range < Int > ) { }
170
170
171
171
struct Nested {
172
172
static let x = 0 ..< 100
You can’t perform that action at this time.
0 commit comments