Skip to content

Commit 8ce0529

Browse files
Merge pull request #3515 from SwiftPackageIndex/Swift-6-tools-version
Swift 6 tools version
2 parents 3bd6601 + f8e1154 commit 8ce0529

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

Package.swift

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.10
1+
// swift-tools-version:6.0
22

33
// Copyright Dave Verwer, Sven A. Schmidt, and other contributors.
44
//
@@ -112,10 +112,7 @@ let package = Package(
112112
],
113113
swiftSettings: swiftSettings)
114114
],
115-
swiftLanguageVersions: [.v5]
115+
swiftLanguageModes: [.v6]
116116
)
117117

118-
var swiftSettings: [SwiftSetting] { [
119-
.enableExperimentalFeature("StrictConcurrency"),
120-
.enableUpcomingFeature("StrictConcurrency")
121-
] }
118+
var swiftSettings: [SwiftSetting] { [] }

Tests/AppTests/Util+ext.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extension XCTestCase {
3434
func assertEquals<Root, Value: Equatable>(_ values: [Root],
3535
_ keyPath: KeyPath<Root, Value>,
3636
_ expectations: [Value],
37-
file: StaticString = #file,
37+
file: StaticString = #filePath,
3838
line: UInt = #line) {
3939
XCTAssertEqual(values.map { $0[keyPath: keyPath] },
4040
expectations,

Tests/AppTests/Util.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func fixtureUrl(for fixture: String) -> URL {
3939
}
4040

4141

42-
func fixturesDirectory(path: String = #file) -> URL {
42+
func fixturesDirectory(path: String = #filePath) -> URL {
4343
let url = URL(fileURLWithPath: path)
4444
let testsDir = url.deletingLastPathComponent()
4545
return testsDir.appendingPathComponent("Fixtures")

0 commit comments

Comments
 (0)