Skip to content

Commit 78ef550

Browse files
authored
Merge pull request #40138 from glessard/sort-workaround-bug-id
2 parents a2c9bc6 + 4c1d46b commit 78ef550

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

stdlib/public/core/Sort.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ internal func _merge<Element>(
439439
}
440440
}
441441

442-
// FIXME: Remove this, it works around rdar://problem/45044610
442+
// FIXME: Remove this, it works around SR-14750 (rdar://45044610)
443443
return true
444444
}
445445

@@ -534,7 +534,7 @@ extension UnsafeMutableBufferPointer {
534534
runs[i - 1] = low..<high
535535
runs.remove(at: i)
536536

537-
// FIXME: Remove this, it works around rdar://problem/45044610
537+
// FIXME: Remove this, it works around SR-14750 (rdar://45044610)
538538
return result
539539
}
540540

@@ -571,7 +571,7 @@ extension UnsafeMutableBufferPointer {
571571
// If W > X + Y, X > Y + Z, and Y > Z, then the invariants are satisfied
572572
// for the entirety of `runs`.
573573

574-
// FIXME: Remove this, it works around rdar://problem/45044610
574+
// FIXME: Remove this, it works around SR-14750 (rdar://45044610)
575575
var result = true
576576

577577
// The invariant is always in place for a single element.
@@ -626,7 +626,7 @@ extension UnsafeMutableBufferPointer {
626626
buffer: UnsafeMutablePointer<Element>,
627627
by areInIncreasingOrder: (Element, Element) throws -> Bool
628628
) rethrows -> Bool {
629-
// FIXME: Remove this, it works around rdar://problem/45044610
629+
// FIXME: Remove this, it works around SR-14750 (rdar://45044610)
630630
var result = true
631631
while runs.count > 1 {
632632
result = try result && _mergeRuns(
@@ -651,7 +651,7 @@ extension UnsafeMutableBufferPointer {
651651
return
652652
}
653653

654-
// FIXME: Remove this, it works around rdar://problem/45044610
654+
// FIXME: Remove this, it works around SR-14750 (rdar://45044610)
655655
var result = true
656656

657657
// Use array's allocating initializer to create a temporary buffer---this
@@ -695,7 +695,7 @@ extension UnsafeMutableBufferPointer {
695695
_internalInvariant(runs.count == 1, "Didn't complete final merge")
696696
}
697697

698-
// FIXME: Remove this, it works around rdar://problem/45044610
698+
// FIXME: Remove this, it works around SR-14750 (rdar://45044610)
699699
_precondition(result)
700700
}
701701
}

0 commit comments

Comments
 (0)