mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-29 05:41:50 +02:00
work around issue that crashes the Swift 3.2 compiler (fixes #171)
This commit is contained in:
@@ -37,7 +37,7 @@ public struct GroupBy: QueryClause, Hashable {
|
||||
/**
|
||||
The list of key path strings to group results with
|
||||
*/
|
||||
public let keyPaths: [KeyPath]
|
||||
public let keyPaths: [RawKeyPath]
|
||||
|
||||
/**
|
||||
Initializes a `GroupBy` clause with an empty list of key path strings
|
||||
@@ -53,7 +53,7 @@ public struct GroupBy: QueryClause, Hashable {
|
||||
- parameter keyPath: a key path string to group results with
|
||||
- parameter keyPaths: a series of key path strings to group results with
|
||||
*/
|
||||
public init(_ keyPath: KeyPath, _ keyPaths: KeyPath...) {
|
||||
public init(_ keyPath: RawKeyPath, _ keyPaths: RawKeyPath...) {
|
||||
|
||||
self.init([keyPath] + keyPaths)
|
||||
}
|
||||
@@ -63,7 +63,7 @@ public struct GroupBy: QueryClause, Hashable {
|
||||
|
||||
- parameter keyPaths: a list of key path strings to group results with
|
||||
*/
|
||||
public init(_ keyPaths: [KeyPath]) {
|
||||
public init(_ keyPaths: [RawKeyPath]) {
|
||||
|
||||
self.keyPaths = keyPaths
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user