We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b4221fe + cb3e640 commit d4daadfCopy full SHA for d4daadf
Sources/Diff.swift
@@ -2,7 +2,13 @@
2
public protocol DiffProtocol: Collection, Sequence {
3
4
associatedtype DiffElementType
5
+
6
+ #if swift(>=3.1)
7
+ // The typealias is causing crashes in SourceKitService under Swift 3.1 snapshots.
8
+ #else
9
+ // TODO: Verify that the typealias workaround is still required when Xcode 8.3 is released.
10
typealias Index = Int
11
+ #endif
12
13
var elements: [DiffElementType] { get }
14
}
0 commit comments