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

To reply to this bug, email your comments to 62464 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#62464; Package guile. (Sun, 26 Mar 2023 16:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vasilij Schneidermann <mail <at> vasilij.de>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sun, 26 Mar 2023 16:50:02 GMT) Full text and rfc822 format available.

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 1 year and 243 days ago.

Previous Next


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