mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove Range<Index> argument from Collection.partition()
collection.partition(i..<j) => collection[i..<j].partition()
This commit is contained in:
committed by
Max Moiseev
parent
eefada1c97
commit
5b728dc859
@@ -151,7 +151,7 @@ Algorithm.test("invalidOrderings") {
|
||||
withInvalidOrderings {
|
||||
var a: A<Int>
|
||||
a = randomArray()
|
||||
a.partition(a.indices, isOrderedBefore: $0)
|
||||
a.partition($0)
|
||||
}
|
||||
/*
|
||||
// FIXME: Disabled due to <rdar://problem/17734737> Unimplemented:
|
||||
|
||||
Reference in New Issue
Block a user