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

zardoz <[email protected]>
Newsgroups gmane.lisp.guile.bugs
Message-ID <CAN6zXDYTN5E9j3sbVkKfUTNnweTQY7n6_cZod1MZcc0DTc5cmw@mail.gmail.com>
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, 4.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.