SE-0361: Extensions on bound generic types

https://github.com/apple/swift-evolution/blob/main/proposals/0361-bound-generic-extensions.md
This commit is contained in:
Gwendal Roué committed 2022-08-21 21:22:34 +02:00
1 parent 36892fee55
commit b2eafd4a13
14 files changed
+28 -17

No files matched your search

@@ -805,7 +805,7 @@ throws -> DatabaseRegion
.databaseRegion // contains region of nested associations
}
extension Array where Element == Row {
extension [Row] {
/// - precondition: Columns all exist in all rows. All rows have the same
/// columnns, in the same order.
fileprivate func grouped(byDatabaseValuesOnColumns columns: [String]) -> [[DatabaseValue]: [Row]] {