work around issue that crashes the Swift 3.2 compiler (fixes #171)

This commit is contained in:
John Estropia
2017-06-08 20:18:50 +09:00
parent 49b8b9c372
commit f618617053
32 changed files with 280 additions and 622 deletions

View File

@@ -27,9 +27,9 @@ import Foundation
import CoreData
// MARK: - KeyPath
// MARK: - RawKeyPath
public typealias KeyPath = String
public typealias RawKeyPath = String
// MARK: - SortKey
@@ -40,14 +40,14 @@ public typealias KeyPath = String
public enum SortKey {
/**
Indicates that the `KeyPath` should be sorted in ascending order
Indicates that the `RawKeyPath` should be sorted in ascending order
*/
case ascending(KeyPath)
case ascending(RawKeyPath)
/**
Indicates that the `KeyPath` should be sorted in descending order
Indicates that the `RawKeyPath` should be sorted in descending order
*/
case descending(KeyPath)
case descending(RawKeyPath)
}