GNU bug report logs - #62464
[PATCH] error-object-irritants may #f instead of a list

Previous Next

Package: guile;

Reported by: Vasilij Schneidermann <mail <at> vasilij.de>

Date: Sun, 26 Mar 2023 16:50:02 UTC

Severity: normal

Tags: patch

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vasilij Schneidermann <mail <at> vasilij.de>
To: bug-guile <at> gnu.org
Subject: [PATCH] error-object-irritants may #f instead of a list
Date: Sun, 26 Mar 2023 18:48:48 +0200
[Message part 1 (text/plain, inline)]
Hello,

I've tried to run a R7RS program and ran into an error with the
`error-object-irritants` procedure. According to R7RS-small, it returns
a list of irritants for the error object, but under Guile it returns #f
instead of an empty list. This behavior deviates from other R7RS
implementations I've tested the program against.

I've attached both a reproduction script (invoke with `guile -q --r7rs
-s test.scm`) and a patch that resolves the issue.

Guile version: 3.0.9
Machine type: x86_64-pc-linux-gnu
Operating system: Arch Linux
OS package version: `pacman -Q guile`: guile 3.0.9-1
[test.scm (text/plain, attachment)]
[0001-Make-error-object-irritants-always-returns-a-list.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.