mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-24 02:11:26 +01:00
WIP: Xcode 8 beta 6
This commit is contained in:
@@ -912,7 +912,7 @@ private func formattedValue(_ any: Any) -> String {
|
||||
|
||||
private func formattedDebugDescription(_ any: Any) -> String {
|
||||
|
||||
var string = "(\(String(reflecting: any.dynamicType))) "
|
||||
var string = "(\(String(reflecting: type(of: any)))) "
|
||||
string.append(formattedValue(any))
|
||||
return string
|
||||
}
|
||||
@@ -1163,7 +1163,7 @@ extension NSMappingModel: CoreStoreDebugStringConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
extension Predicate: CoreStoreDebugStringConvertible {
|
||||
extension NSPredicate: CoreStoreDebugStringConvertible {
|
||||
|
||||
public var coreStoreDumpString: String {
|
||||
|
||||
@@ -1199,7 +1199,7 @@ extension NSRelationshipDescription: CoreStoreDebugStringConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
extension SortDescriptor: CoreStoreDebugStringConvertible {
|
||||
extension NSSortDescriptor: CoreStoreDebugStringConvertible {
|
||||
|
||||
public var coreStoreDumpString: String {
|
||||
|
||||
|
||||
@@ -71,8 +71,8 @@ public extension CoreStore {
|
||||
)
|
||||
}
|
||||
|
||||
@noreturn
|
||||
internal static func abort(_ message: String, fileName: StaticString = #file, lineNumber: Int = #line, functionName: StaticString = #function) {
|
||||
|
||||
internal static func abort(_ message: String, fileName: StaticString = #file, lineNumber: Int = #line, functionName: StaticString = #function) -> Never {
|
||||
|
||||
self.logger.abort(
|
||||
message,
|
||||
|
||||
Reference in New Issue
Block a user