Hi,
I just found this bug in the hash-table-merge! function
(modul/srfi/srfi-69.scm). Instead of merging both hash tables, it was
ignoring one of them (other-ht). Attached is the fix, where it now folds
over other-ht and store its data in ht.
Cheers,
Ricardo G. Herdt
From
gh.
Regards,
Ricardo G. HerdtFrom f899d43554f81bf1d20c22e07437a4e49e2bb400 Mon Sep 17 00:00:00 2001
From: "Ricardo G. Herdt"
Date: Sat, 30 May 2020 22:50:16 +0200
Subject: [PATCH] doc: Add missing canonicalize-path documentation.
The documentation is copied over from libguile/filesys.c. I
the crash when checking "(zero? type)". Swapping the
procedures like this doesn't lead to the same error:
(define (test n)
(make-vector n 1)
(sqrt (floor n)))
Thanks to gsdlb for discovering the bug and mwette for helping getting a
better backtrace.
Tested with Guile 3.