Vendor paguro's RrbTree, fix an int overflow breaking large Lists (#1337)

This commit is contained in:
Jen Basch
2025-12-03 09:02:17 -08:00
committed by GitHub
parent 6c3683c55e
commit d1c652f736
8 changed files with 1983 additions and 11 deletions
@@ -238,6 +238,7 @@ examples {
List().repeat(1)
List().repeat(5)
module.catch(() -> list1.repeat(-1))
List(0).repeat(118866785).length // triggers an overflow wraparound in original paguro impl
}
["sortWith()"] {
@@ -192,6 +192,7 @@ examples {
List()
List()
"Expected a positive number, but got `-1`."
118866785
}
["sortWith()"] {
List()