GNU bug report logs - #71696
evaling an `eval-when' form leads to errors for guile-3-d2613

Previous Next

Package: guile;

Reported by: zardoz <zardoz030 <at> gmail.com>

Date: Fri, 21 Jun 2024 16:20:02 UTC

Severity: normal

To reply to this bug, email your comments to 71696 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#71696; Package guile. (Fri, 21 Jun 2024 16:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to zardoz <zardoz030 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Fri, 21 Jun 2024 16:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: zardoz <zardoz030 <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: evaling an `eval-when' form leads to errors for guile-3-d2613
Date: Fri, 21 Jun 2024 11:32:12 +0100
[Message part 1 (text/plain, inline)]
If you `eval` an form containing eval-when in a scheme program it fails with a
syntax-violation with respect to definitions.
Specifically there is a syntax-violation that isn't present in REPL usage:
  "definition in expression context, where definitions are not allowed
in form ~a".
This is present even with a begin before all the definitions.
I will attach the offending code to this email also.
[swat-assembler.tgz (application/x-compressed-tar, attachment)]

This bug report was last modified 78 days ago.

Previous Next


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