Skip to content

Commit

Permalink
Merge pull request #2571 from Carthage/remove-swift-4.1-shims
Browse files Browse the repository at this point in the history
Remove now-unnecessary Swift 4.1 shim
  • Loading branch information
mdiep committed Sep 10, 2018
2 parents 4c58c72 + 794f1c2 commit 30ff52d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Source/CarthageKit/SwiftShims.swift
@@ -1,7 +1 @@
#if !swift(>=4.1)
extension Sequence {
func compactMap<ElementOfResult>(_ transform: (Self.Element) throws -> ElementOfResult?) rethrows -> [ElementOfResult] {
return try flatMap(transform)
}
}
#endif
// It's empty for now

0 comments on commit 30ff52d

Please sign in to comment.