Swift 4.1 support

This commit is contained in:
John Rommel Estropia committed 2018-03-10 21:07:53 +09:00
1 parent 83e6082c56
commit 5431e2e974
19 files changed
+46 -40

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ public final class SynchronousDataTransaction: BaseDataTransaction {
"Attempted to delete an entities from an already committed \(cs_typeName(self))."
)
super.delete(([object1, object2] + objects).flatMap { $0 })
super.delete(([object1, object2] + objects).compactMap { $0 })
}
/**