File tree 3 files changed +12
-0
lines changed
3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 9
9
*/
10
10
public struct ExtendedDiff : DiffProtocol {
11
11
12
+ #if swift(>=3.1)
13
+ // The duplicate typealias is not required in Swift 3.1
14
+ #else
12
15
public typealias Index = Int
16
+ #endif
13
17
14
18
public enum Element {
15
19
case insert( at: Int )
Original file line number Diff line number Diff line change 1
1
2
2
public struct NestedDiff : DiffProtocol {
3
3
4
+ #if swift(>=3.1)
5
+ // The duplicate typealias is not required in Swift 3.1
6
+ #else
4
7
public typealias Index = Int
8
+ #endif
5
9
6
10
public enum Element {
7
11
case deleteSection( Int )
Original file line number Diff line number Diff line change 1
1
2
2
public struct NestedExtendedDiff : DiffProtocol {
3
3
4
+ #if swift(>=3.1)
5
+ // The duplicate typealias is not required in Swift 3.1
6
+ #else
4
7
public typealias Index = Int
8
+ #endif
5
9
6
10
public enum Element {
7
11
case deleteSection( Int )
You can’t perform that action at this time.
0 commit comments