Skip to content

Commit bd8b999

Browse files
committed
Swift 5.8
1 parent 00ec241 commit bd8b999

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.7
1+
// swift-tools-version:5.8
22

33
import PackageDescription
44

SwiftDraw/SVG.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131

3232
import Foundation
3333

34+
#if compiler(<5.9)
35+
#warning("SwiftDraw will soon remove support for Swift 5.8")
36+
#endif
37+
3438
#if canImport(CoreGraphics)
3539
import CoreGraphics
3640

SwiftDraw/URL+Fragment.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import Foundation
3434
extension URL {
3535

3636
var fragmentID: String? {
37-
#if compiler(>=5.7) && canImport(Darwin)
37+
#if canImport(Darwin)
3838
if #available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *) {
3939
return fragment(percentEncoded: false)
4040
} else {

0 commit comments

Comments
 (0)