mirror of
https://github.com/apple/pkl.git
synced 2026-04-23 00:38:37 +02:00
fix: add test
This commit is contained in:
committed by
Philip K.F. Hölzenspies
parent
35490dc559
commit
0f9ef53126
@@ -58,7 +58,7 @@ final class MergeSort {
|
||||
SortComparatorNode comparator,
|
||||
@Nullable VmFunction function) {
|
||||
|
||||
if (comparator.executeWith(array[mid-1], array[mid], function)) {
|
||||
if (comparator.executeWith(array[mid - 1], array[mid], function)) {
|
||||
return; // already sorted
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user