Remove RowModelError.Dummy since rdar://problem/21707972 is fixed by Xcode 7 beta 4.

This commit is contained in:
Gwendal Roué committed 2015-07-21 22:33:53 +02:00
1 parent 8deb6ba624
commit c220b57473
2 files changed
-9

No files matched your search

-8
View File
@@ -656,12 +656,6 @@ public enum RowModelError: ErrorType {
/// No matching row could be found in the database.
case RowModelNotFound(RowModel)
/// This error is never thrown. Its mere existence prevents
/// rdar://problem/21707972, which makes thrown RowModelNotFound be catched
/// as InvalidPrimaryKey.
case Dummy(String)
}
extension RowModelError : CustomStringConvertible {
@@ -672,8 +666,6 @@ extension RowModelError : CustomStringConvertible {
return "Invalid primary key in \(rowModel)"
case .RowModelNotFound(let rowModel):
return "RowModel not found: \(rowModel)"
case .Dummy:
return "Dummy"
}
}
}
-1
View File
@@ -1,4 +1,3 @@
- [ ] Remove RowModelError.Dummy when rdar://problem/21707972 is fixed.
- [ ] DateTime supports ISO-8601 format: document that comparison and sorting can't work with SQLite-generated values like CURRENT_TIMESTAMP.
- [ ] Test edited flag with Int property backed by a REAL database column.
- [ ] Use the new `- Throws:` comments