GNU bug report logs - #39509
Incorrect expansion of 'error' calls with non-constant argument

Previous Next

Package: guile;

Reported by: Klaus Stehle <klaus.stehle <at> uni-tuebingen.de>

Date: Sat, 8 Feb 2020 08:42:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Klaus Stehle <klaus.stehle <at> uni-tuebingen.de>
Subject: bug#39509: closed (Re: bug#39509: guile-3.0.0: Error while
 printing exception)
Date: Fri, 06 Mar 2020 17:10:05 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#39509: guile-3.0.0: Error while printing exception

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 39509 <at> debbugs.gnu.org.

-- 
39509: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39509
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Klaus Stehle <klaus.stehle <at> uni-tuebingen.de>
Cc: 39509-done <at> debbugs.gnu.org
Subject: Re: bug#39509: guile-3.0.0: Error while printing exception
Date: Fri, 06 Mar 2020 18:09:39 +0100
Hi Klaus,

Klaus Stehle <klaus.stehle <at> uni-tuebingen.de> skribis:

> ;; The compiled program II says: "Error while printing exception".
> ;; It doesn't matter which function produces the string for the error message.
> ;; The compiled version does not work, if the message string is the returned
> ;; value of a function. The pure example:
>
> (error ((lambda () "If compiled we won't see this error message!")))

This is now fixed in commit d49453259bf97aed6d7e41d1bb364b62310c088f,
which will be in 3.0.1.

Thanks!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Klaus Stehle <klaus.stehle <at> uni-tuebingen.de>
To: bug-guile <at> gnu.org
Subject: guile-3.0.0: Error while printing exception
Date: Sat, 08 Feb 2020 09:41:03 +0100
Hi,
a strange problem with guile-3.0.0 ...


;; (I) This one-line program shows an error message, no problem:

(error "We want to see this error message!")




;; (II) A similar program doesn't show the message, if it has been compiled:

(error (format #f "We want to see this error message!"))




;; The compiled program II says: "Error while printing exception".
;; It doesn't matter which function produces the string for the error message.
;; The compiled version does not work, if the message string is the returned
;; value of a function. The pure example:

(error ((lambda () "If compiled we won't see this error message!")))



Best regards,
Klaus






This bug report was last modified 5 years and 161 days ago.

Previous Next


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