bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39509: guile-3.0.0: Error while printing exception


From: Klaus Stehle
Subject: bug#39509: guile-3.0.0: Error while printing exception
Date: Sat, 08 Feb 2020 09:41:03 +0100
User-agent: Horde Application Framework 5

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








reply via email to

[Prev in Thread] Current Thread [Next in Thread]