From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Thompson, David" Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.bugs Subject: Re: [critical bug] The set! doesn't work in indirect reference Date: Wed, 18 Sep 2024 10:50:07 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16401"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bug-guile@gnu.org, Guile User To: Nala Ginrut Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Sep 18 16:50:57 2024 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sqw1A-00045Y-Mf for guile-user@m.gmane-mx.org; Wed, 18 Sep 2024 16:50:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqw0c-0003AD-Ra; Wed, 18 Sep 2024 10:50:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqw0b-00039z-Bj for guile-user@gnu.org; Wed, 18 Sep 2024 10:50:21 -0400 Original-Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqw0Z-0000gd-NB for guile-user@gnu.org; Wed, 18 Sep 2024 10:50:21 -0400 Original-Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-45821ebb4e6so58389731cf.2 for ; Wed, 18 Sep 2024 07:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester.edu; s=google; t=1726671018; x=1727275818; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4S2p2KSFsZ44uf0c0HHJN67ytPY162MpTo42Y92LYGc=; b=EHzTebxCY3M10BYqQX4GXZ7lHInKqpW9rJnd9a5NeSyA0kwLBm2ZXf3oyPowAlWGUe l0GQQFIpXzxie6OIOUbzqUVb5gykoTtfMxso0ArEyBJzjDybX8PIyOr6cZBaX2Lnm9nb Pi5L9alKltIPgV9MCVL9EtKetKOTXIVL8gWGw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726671018; x=1727275818; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4S2p2KSFsZ44uf0c0HHJN67ytPY162MpTo42Y92LYGc=; b=D9yTNPscfbFmus+jYEJhrjV8fF/CJ4u0biE4QyWhIvumkzJgokJ3TWCECYZ567/B5C BoMrPjkXn3lCJ8AvUwbAcP0MNCFKdd4HMjLvzw8cWVw0DOmwkyVntTsb4jzWRNhVgyoc gHqkXD7DOh1h3OLufd1zKeRDaYUDkDKP05cBpt9qHTCX1IzjQht7ZJUIGkEmPQ66LY1x 1svzaA6R+bLr1nhtzjEcVq3bWO6DgmmVWwhgUYkrzLV4ZmOn6SML1I0BGo4qgQlYy68e +cYuOKZ7kYNXuZ0pzdcERksJ7u1IEN2zq2erlaTap5U1khDSoRfgAm2vU+IOPIb/IQh+ 0hYA== X-Forwarded-Encrypted: i=1; AJvYcCWICGh08nAzGwTERqphP2MlSVBD5Nqqx1405rPZZzYrsdeH39Zfyxeu3cHkLMC7mvNBCh2PNPfdoC+M@gnu.org X-Gm-Message-State: AOJu0YzDFdsQWNtOek2JaZ2gKSPh87G4MI2aH6igqT9fspltYyRux9Z3 sw1VnnHDqltkm3c4t1BwhCEbQMvYApZtvPLSaLabCPbgnlULxdCJN8PHmTopwXTmhTDNf8Cx61N OV66FrSQRV772Tl6KuB+tdV1DYOxuGfwESC/1zA== X-Google-Smtp-Source: AGHT+IGvG/xkrOJTlg7XdOyGgmyEtyA8QuHC8SIXWhsY/RR1oRDrOnnMAH2d4ubFbkIy0Wq0Xg1vZwTJLUFakoxu8QQ= X-Received: by 2002:a05:622a:528f:b0:458:5141:7be7 with SMTP id d75a77b69052e-45afe60d2bcmr95600421cf.39.1726671018295; Wed, 18 Sep 2024 07:50:18 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=dthompson2@worcester.edu; helo=mail-qt1-x834.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19809 gmane.lisp.guile.bugs:10981 Archived-At: On Wed, Sep 18, 2024 at 10:38=E2=80=AFAM Nala Ginrut = 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