GNU bug report logs - #73334
[critical bug] The set! doesn't work in indirect reference

Previous Next

Package: guile;

Reported by: Nala Ginrut <nalaginrut <at> gmail.com>

Date: Wed, 18 Sep 2024 14:39:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Nala Ginrut <nalaginrut <at> gmail.com>
To: "Thompson, David" <dthompson2 <at> worcester.edu>
Cc: 73334 <at> debbugs.gnu.org, guile-user <at> gnu.org
Subject: bug#73334: [critical bug] The set! doesn't work in indirect reference
Date: Thu, 19 Sep 2024 11:34:17 +0900
[Message part 1 (text/plain, inline)]
Thanks for the reply!
I've taken a look at
https://www.gnu.org/software/guile/manual/html_node/Declarative-Modules.html
It's related to #:declarative?

Thanks again!
Best regards.


On Wed, Sep 18, 2024 at 11:50 PM Thompson, David <dthompson2 <at> worcester.edu>
wrote:

> On Wed, Sep 18, 2024 at 10:38 AM Nala Ginrut <nalaginrut <at> gmail.com> 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
>
[Message part 2 (text/html, inline)]

This bug report was last modified 272 days ago.

Previous Next


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