Debian Patches

Status for golang-github-zyedidia-generic/1.2.2~git20230320.4410d23-1

Patch Description Author Forwarded Bugs Origin Last update
0001-port-multimap-tests-to-current-slices-api.patch Port multimap tests to the current slices comparison API golang.org/x/exp/slices changed SortFunc, SortStableFunc and IsSortedFunc to
take a comparison function returning int rather than a less function
returning bool. This snapshot predates that change, so its multimap tests no
longer compile against the version of golang-golang-x-exp in the archive:
.
in call to slices.SortFunc, type func(a entry, b entry) bool does not match
inferred type func(a entry, b entry) int
.
Rewrite the five affected closures using cmp.Compare, preserving the existing
ordering semantics exactly: entries sort by Key and then by Value,
associations by Key alone.

diff --git a/multimap/multimap_test.go b/multimap/multimap_test.go
index 3553f5e..ca0e1b4 100644
Juan Manuel Méndez Rey <juan.mendezr@proton.me> yes 2026-09-21

All known versions for source package 'golang-github-zyedidia-generic'

Links