Subject: bug#73334: [critical bug] The set! doesn't work in indirect reference

From: "Thompson, David" <[email-masked]>
Date: Wed, 18 Sep 2024 10:50:07 -0400

On Wed, Sep 18, 2024 at 10:38 AM Nala Ginrut <[email-masked]> wrote:
>
> The result is:
> ;;; (before #f)
> ;;; (after #f)
>
> The expected result should be:
> ;; (before #f)
> ;; (after 123)

I don't think this is a bug. Both modules are declarative (the
default). 'global' from module (aaa) is presumably being inlined into
the 'pk' calls in module (bbb).  If you mark module (bbb) as
'#:declarative? #f' then you get your expected result.

Hope this helps,

- Dave