unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Klaus Stehle <klaus.stehle@uni-tuebingen.de>
To: 39509@debbugs.gnu.org
Subject: bug#39509: guile-3.0.0: Error while printing exception
Date: Sat, 08 Feb 2020 09:41:03 +0100	[thread overview]
Message-ID: <20200208094103.Horde.krHZmxII44Qu3ouivhN9Scu@webmail.uni-tuebingen.de> (raw)

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	other threads:[~2020-02-08  8:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-08  8:41 Klaus Stehle [this message]
2020-03-06 17:09 ` bug#39509: guile-3.0.0: Error while printing exception Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200208094103.Horde.krHZmxII44Qu3ouivhN9Scu@webmail.uni-tuebingen.de \
    --to=klaus.stehle@uni-tuebingen.de \
    --cc=39509@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).