WIP: Xcode 8 beta 6

This commit is contained in:
John Estropia
2016-09-06 09:57:28 +09:00
parent e9be711d4c
commit 0ba63c6e72
78 changed files with 472 additions and 450 deletions

View File

@@ -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 {

View File

@@ -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,