unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Thompson, David" <dthompson2@worcester.edu>
To: Nala Ginrut <nalaginrut@gmail.com>
Cc: bug-guile@gnu.org, Guile User <guile-user@gnu.org>
Subject: Re: [critical bug] The set! doesn't work in indirect reference
Date: Wed, 18 Sep 2024 10:50:07 -0400	[thread overview]
Message-ID: <CAJ=RwfbGz6hJdG6QpGVcKU+dTWyWhOHB-FbCJ=etWBJukG2G8g@mail.gmail.com> (raw)
In-Reply-To: <CAPjoZocrB8tFJ4UEqtm-rjhDvkv2pM=oZs6zDYxLgBKp_mMrRA@mail.gmail.com>

On Wed, Sep 18, 2024 at 10:38 AM Nala Ginrut <nalaginrut@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



  reply	other threads:[~2024-09-18 14:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-18 14:37 [critical bug] The set! doesn't work in indirect reference Nala Ginrut
2024-09-18 14:50 ` Thompson, David [this message]
2024-09-19  2:34   ` Nala Ginrut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ=RwfbGz6hJdG6QpGVcKU+dTWyWhOHB-FbCJ=etWBJukG2G8g@mail.gmail.com' \
    --to=dthompson2@worcester.edu \
    --cc=bug-guile@gnu.org \
    --cc=guile-user@gnu.org \
    --cc=nalaginrut@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).