mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-04-20 16:01:20 +02:00
fix warnings
This commit is contained in:
@@ -63,7 +63,7 @@ extension Modern.ColorsDemo.SwiftUI {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.animation(.default)
|
// .animation(.default) // breaks layout
|
||||||
.listStyle(PlainListStyle())
|
.listStyle(PlainListStyle())
|
||||||
.edgesIgnoringSafeArea([])
|
.edgesIgnoringSafeArea([])
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1215,6 +1215,7 @@ extension NSAttributeType: CoreStoreDebugStringConvertible {
|
|||||||
case .objectIDAttributeType: return ".objectIDAttributeType"
|
case .objectIDAttributeType: return ".objectIDAttributeType"
|
||||||
case .UUIDAttributeType: return ".UUIDAttributeType"
|
case .UUIDAttributeType: return ".UUIDAttributeType"
|
||||||
case .URIAttributeType: return ".URIAttributeType"
|
case .URIAttributeType: return ".URIAttributeType"
|
||||||
|
case .compositeAttributeType: return ".compositeAttributeType"
|
||||||
@unknown default:
|
@unknown default:
|
||||||
fatalError()
|
fatalError()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -213,11 +213,11 @@ extension Internals.DiffableDataUIDispatcher {
|
|||||||
|
|
||||||
// Implementation based on https://github.com/ra1028/DifferenceKit
|
// Implementation based on https://github.com/ra1028/DifferenceKit
|
||||||
@usableFromInline
|
@usableFromInline
|
||||||
internal struct Trace<Index> {
|
internal struct Trace<I> {
|
||||||
|
|
||||||
@usableFromInline
|
@usableFromInline
|
||||||
internal var reference: Index?
|
internal var reference: I?
|
||||||
|
|
||||||
@usableFromInline
|
@usableFromInline
|
||||||
internal var deleteOffset = 0
|
internal var deleteOffset = 0
|
||||||
|
|
||||||
|
|||||||
@@ -503,8 +503,8 @@ public struct Select<O: DynamicObject, T: SelectResultType>: SelectClause, Hasha
|
|||||||
|
|
||||||
// MARK: Equatable
|
// MARK: Equatable
|
||||||
|
|
||||||
public static func == <T, U>(lhs: Select<O, T>, rhs: Select<O, U>) -> Bool {
|
public static func == <T1, T2>(lhs: Select<O, T1>, rhs: Select<O, T2>) -> Bool {
|
||||||
|
|
||||||
return lhs.selectTerms == rhs.selectTerms
|
return lhs.selectTerms == rhs.selectTerms
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -250,8 +250,8 @@ public struct Where<O: DynamicObject>: WhereClauseType, FetchClause, QueryClause
|
|||||||
- parameter keyPath: the keyPath to compare with
|
- parameter keyPath: the keyPath to compare with
|
||||||
- parameter object: the arguments for the `==` operator
|
- parameter object: the arguments for the `==` operator
|
||||||
*/
|
*/
|
||||||
public init<O: DynamicObject>(_ keyPath: KeyPathString, isEqualTo object: O?) {
|
public init<Other: DynamicObject>(_ keyPath: KeyPathString, isEqualTo object: Other?) {
|
||||||
|
|
||||||
switch object {
|
switch object {
|
||||||
|
|
||||||
case nil:
|
case nil:
|
||||||
|
|||||||
Reference in New Issue
Block a user