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

Full log


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 1 year and 79 days ago.

Previous Next


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