unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#39509: guile-3.0.0: Error while printing exception
@ 2020-02-08  8:41 Klaus Stehle
  2020-03-06 17:09 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Klaus Stehle @ 2020-02-08  8:41 UTC (permalink / raw)
  To: 39509

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








^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#39509: guile-3.0.0: Error while printing exception
  2020-02-08  8:41 bug#39509: guile-3.0.0: Error while printing exception Klaus Stehle
@ 2020-03-06 17:09 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-03-06 17:09 UTC (permalink / raw)
  To: Klaus Stehle; +Cc: 39509-done

Hi Klaus,

Klaus Stehle <klaus.stehle@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’.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-06 17:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-08  8:41 bug#39509: guile-3.0.0: Error while printing exception Klaus Stehle
2020-03-06 17:09 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).