WIP: Xcode 8 beta 6

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

No files matched your search

+2 -2
View File
@@ -32,7 +32,7 @@ import CoreData
/**
All errors thrown from CoreStore are expressed in `CoreStoreError` enum values.
*/
public enum CoreStoreError: ErrorProtocol, Hashable {
public enum CoreStoreError: Error, Hashable {
/**
A failure occured because of an unknown error.
@@ -116,7 +116,7 @@ public enum CoreStoreError: ErrorProtocol, Hashable {
// MARK: Internal
internal init(_ error: ErrorProtocol?) {
internal init(_ error: Error?) {
self = error.flatMap { $0.bridgeToSwift } ?? .unknown
}