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

From: zardoz <[email-masked]>
Date: Fri, 21 Jun 2024 11:32:12 +0100

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.