Received: (at submit) by debbugs.gnu.org; 19 Sep 2024 02:37:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 18 22:37:05 2024 Received: from localhost ([127.0.0.1]:59490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sr72X-00059g-66 for submit <at> debbugs.gnu.org; Wed, 18 Sep 2024 22:37:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:56118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <nalaginrut@HIDDEN>) id 1sr72U-00059Y-Kv for submit <at> debbugs.gnu.org; Wed, 18 Sep 2024 22:37:03 -0400 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 <nalaginrut@HIDDEN>) id 1sr706-0006pz-ER; Wed, 18 Sep 2024 22:34:34 -0400 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <nalaginrut@HIDDEN>) id 1sr704-0001X5-MO; Wed, 18 Sep 2024 22:34:34 -0400 Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-7db4c1a54easo189726a12.1; Wed, 18 Sep 2024 19:34:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726713271; x=1727318071; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iUoIYn1tDVYMxF2ExMA9mJF1xC2QguiRvXGcpzkx28E=; b=S33rZA/RSCh0OYJNrXMDcNpGXGRgMcxLIyIeLFbZx8HGyKgtEIq3aOIBbIagMvNT7r r+14LxhfI+Tun9zBL4ZjCgMAqVdztukvyVMmROPksMp7VNxpoLb6zVAYvhecq047yPqc kOv11WcQTTvphahR0JgR/DYoWZdAA0tIqdEhViayE3OTcwCtRtCvnaqDRdxxqGvfKYyp os/rm7mm5MqHciTX6iyeFewMDszmVdFNwfGc1ojV3bwR9SPwSanMTV/jMkf3Vv2hQ+f/ ndmNdq4llgtG4XAEBCLAlQWRGU7TLt1omWqTSuDGt3KQDbTvFM9ANufvBXykIduhLF9m Y9Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726713271; x=1727318071; h=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=iUoIYn1tDVYMxF2ExMA9mJF1xC2QguiRvXGcpzkx28E=; b=p+K0dcCed5KTr5GMpihPXHX2NQPDxOj6zmZGsldzNPZOwcwffG+NjYNGEUniXY9mxx MsiRLVeKllL8KsKiEXr6sR1QMSdOsNsUpOQ88F2aj4pNkyeYveC6COtVEtOIr3EXm//i xvAOHCFZT8S/xtewSXu2scsxd9bDSeGc36VgZ6DZVUP+UGy8YzC54vp21EGMcJVDBFRH 16B5ef1ONkFc1n5+1+otkGCqv3vXlR9+zDy491d+26DvdR5oxL6pwewgEs5lPafZsu/W sSoA6c6/4CmZssLPNHmyLF2bbTvz2VbCzrmTd6/WOfsfzC/rKeZ1nu7Xfb/QtJaHa6Pd dasQ== X-Forwarded-Encrypted: i=1; AJvYcCXECNmXvp0tvj5yXMCP4ojw3Nbhyj+BStR50E0rOtwxclscJbWDwDiFyvdZ5BnXxIddF+c9qFBXoS9Y@HIDDEN X-Gm-Message-State: AOJu0Yy5LrwN5Evj4RP+TUwcPrgWFAlNqywztOKIS5ZMy7I+ap2pNfFK WY2l8BbTwpAIKeCWeVqpuQYAMCjb4T5JfciUEWqTCFLD5mBzOOaspWwz7FZ3aN/e2Q3dLeZZIjs mf3alE2ePKpHtCVp1bcntVhpEGN4= X-Google-Smtp-Source: AGHT+IGmrCjdx3Q9lZODSHnGsj0ZPjxWfbOsWqDhj4+uo71WjC6kZJlE/w64J9tjmgMA4wtRBzuPy79dEbrmFPaj54o= X-Received: by 2002:a05:6a21:3982:b0:1cf:2438:c9e3 with SMTP id adf61e73a8af0-1cf75ec5c7cmr33789303637.16.1726713270550; Wed, 18 Sep 2024 19:34:30 -0700 (PDT) MIME-Version: 1.0 References: <CAPjoZocrB8tFJ4UEqtm-rjhDvkv2pM=oZs6zDYxLgBKp_mMrRA@HIDDEN> <CAJ=RwfbGz6hJdG6QpGVcKU+dTWyWhOHB-FbCJ=etWBJukG2G8g@HIDDEN> In-Reply-To: <CAJ=RwfbGz6hJdG6QpGVcKU+dTWyWhOHB-FbCJ=etWBJukG2G8g@HIDDEN> From: Nala Ginrut <nalaginrut@HIDDEN> Date: Thu, 19 Sep 2024 11:34:17 +0900 Message-ID: <CAPjoZochg_WZGify5L1L4r4bzZ2Wq00TECPfEwLOSQC7iVgsLw@HIDDEN> Subject: Re: [critical bug] The set! doesn't work in indirect reference To: "Thompson, David" <dthompson2@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000001ecd9a06226fc353" Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=nalaginrut@HIDDEN; helo=mail-pg1-x52f.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: bug-guile@HIDDEN, Guile User <guile-user@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --0000000000001ecd9a06226fc353 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for the reply! I've taken a look at https://www.gnu.org/software/guile/manual/html_node/Declarative-Modules.htm= l It's related to #:declarative? Thanks again! Best regards. On Wed, Sep 18, 2024 at 11:50=E2=80=AFPM Thompson, David <dthompson2@worces= ter.edu> wrote: > On Wed, Sep 18, 2024 at 10:38=E2=80=AFAM Nala Ginrut <nalaginrut@HIDDEN= m> 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 > --0000000000001ecd9a06226fc353 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thanks for the reply!<div>I've taken a look at=C2=A0<a= href=3D"https://www.gnu.org/software/guile/manual/html_node/Declarative-Mo= dules.html">https://www.gnu.org/software/guile/manual/html_node/Declarative= -Modules.html</a></div><div>It's related to #:declarative?</div><div><b= r></div><div>Thanks again!</div><div>Best regards.</div><div><br></div></di= v><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On W= ed, Sep 18, 2024 at 11:50=E2=80=AFPM Thompson, David <<a href=3D"mailto:= dthompson2@HIDDEN">dthompson2@HIDDEN</a>> wrote:<br></div>= <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Sep 18, 2024 at 1= 0:38=E2=80=AFAM Nala Ginrut <<a href=3D"mailto:nalaginrut@HIDDEN" tar= get=3D"_blank">nalaginrut@HIDDEN</a>> wrote:<br> ><br> > The result is:<br> > ;;; (before #f)<br> > ;;; (after #f)<br> ><br> > The expected result should be:<br> > ;; (before #f)<br> > ;; (after 123)<br> <br> I don't think this is a bug. Both modules are declarative (the<br> default). 'global' from module (aaa) is presumably being inlined in= to<br> the 'pk' calls in module (bbb).=C2=A0 If you mark module (bbb) as<b= r> '#:declarative? #f' then you get your expected result.<br> <br> Hope this helps,<br> <br> - Dave<br> </blockquote></div> --0000000000001ecd9a06226fc353--
bug-guile@HIDDEN
:bug#73334
; Package guile
.
Full text available.Received: (at submit) by debbugs.gnu.org; 18 Sep 2024 14:50:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 18 10:50:39 2024 Received: from localhost ([127.0.0.1]:59081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sqw0t-0000n2-9q for submit <at> debbugs.gnu.org; Wed, 18 Sep 2024 10:50:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:36400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dthompson2@HIDDEN>) id 1sqw0r-0000mt-Oh for submit <at> debbugs.gnu.org; Wed, 18 Sep 2024 10:50:38 -0400 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 <dthompson2@HIDDEN>) id 1sqw0b-00039y-Bn for bug-guile@HIDDEN; Wed, 18 Sep 2024 10:50:21 -0400 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <dthompson2@HIDDEN>) id 1sqw0Z-0000ge-MG for bug-guile@HIDDEN; Wed, 18 Sep 2024 10:50:21 -0400 Received: by mail-qt1-x82a.google.com with SMTP id d75a77b69052e-45830ff5b70so59592101cf.1 for <bug-guile@HIDDEN>; 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=ujcIIQD0uuTeggOuWvEZ9h4ZIeep98lwHWglLLYIxEqNglfJ/Ap3qSRyx+VOjIzV8Q 7yN3Xvc9Em1BMi9ZCegVwMj7rutlcVApgBc9K679e6/Xar0bSp0QuUlOH6bbT4qP+cLk hOb7pT89v+4H8fMczAUaRydMR6a1Mv4RXHPm2szFSDKuDfIQ/53K9LnR4RSAtCUgYxJR x9gipy4xKubnge2x9KCc9BSZDKYKcAjSFfRf+ua4GNYgAxH8R30v0TVil5FZPMKlp747 pOKzMFTGoZkM+0XH34YAwgEPbA2X2phL5CQXB1Lmn7LMKh1xdZb83QEza5nmZegwE6QY LKig== X-Gm-Message-State: AOJu0YwU7oqlyOPXErxAdAkKHDe/lFZ1KPyIUNDtXu2T8GL7cOGL+mb4 /wIvrR2LjuVyQTAgibLRw2SZjrd3+GJ9uu8nbA1DJ9Yp3R72PljvnMyY+tC3ONqNHT7PfV53JNA e4O2LyOVL5V7Dd9tmyA4q3cKSNeWi9wetQOthrA== 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) MIME-Version: 1.0 References: <CAPjoZocrB8tFJ4UEqtm-rjhDvkv2pM=oZs6zDYxLgBKp_mMrRA@HIDDEN> In-Reply-To: <CAPjoZocrB8tFJ4UEqtm-rjhDvkv2pM=oZs6zDYxLgBKp_mMrRA@HIDDEN> From: "Thompson, David" <dthompson2@HIDDEN> Date: Wed, 18 Sep 2024 10:50:07 -0400 Message-ID: <CAJ=RwfbGz6hJdG6QpGVcKU+dTWyWhOHB-FbCJ=etWBJukG2G8g@HIDDEN> Subject: Re: [critical bug] The set! doesn't work in indirect reference To: Nala Ginrut <nalaginrut@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=dthompson2@HIDDEN; helo=mail-qt1-x82a.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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: bug-guile@HIDDEN, Guile User <guile-user@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) On Wed, Sep 18, 2024 at 10:38=E2=80=AFAM Nala Ginrut <nalaginrut@HIDDEN>= 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
bug-guile@HIDDEN
:bug#73334
; Package guile
.
Full text available.Received: (at submit) by debbugs.gnu.org; 18 Sep 2024 14:38:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 18 10:38:32 2024 Received: from localhost ([127.0.0.1]:59067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sqvpA-0008Tv-7f for submit <at> debbugs.gnu.org; Wed, 18 Sep 2024 10:38:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:36194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <nalaginrut@HIDDEN>) id 1sqvp6-0008Ti-Ug for submit <at> debbugs.gnu.org; Wed, 18 Sep 2024 10:38:30 -0400 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 <nalaginrut@HIDDEN>) id 1sqvoq-00017u-CW; Wed, 18 Sep 2024 10:38:12 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <nalaginrut@HIDDEN>) id 1sqvoo-0007bn-Qw; Wed, 18 Sep 2024 10:38:12 -0400 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-7191fb54147so4967381b3a.2; Wed, 18 Sep 2024 07:38:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726670287; x=1727275087; darn=gnu.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=B15b+YTw6xMQXkilzp45dMaqmQjy+qJEYgP9wMPPgr0=; b=KAviMnga3tv5LfKpAXK+naYajgeaVOpNGeIO1WQVc98mmdGobierVldiJsyFTwNC/c Mq3MesuL4J3YqoJGMlN+b00T08Rg6Cd+RtkIrFkltEFfUHE8irRy1yzCLc6hFiP9Wdy6 TLkHHm6/m+7ODT7BRooeTgLWFJojD0miWkMNvwSdGwxWtKLnFfquvNJaa2tiCxKLFaxG C2U7DeP80WBLhSUS8SQAcT/CMKFtQg9G/z0A0VgWkU5MCAD9SFNFA1aqR21wcJLpOsPI N/WnWDWcKmIKl1yh5rTKFoxM716OwcDrwhwVWC1J5TI5XR0kRM3K3Xr7zReIoUNCnTcH sLzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726670287; x=1727275087; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=B15b+YTw6xMQXkilzp45dMaqmQjy+qJEYgP9wMPPgr0=; b=AF5G2y0fKf7irN4BqaN+h+T1myXFqduUmDU9UMLomDCY69wXpn6IEFeu1PXutv/X9q Z3Rmv8EjLfnrZ2c7vWm7e4yeHspcdcpHVKtepW6gE6q8lQ7qLdfFm1gTJ3k9rhbjT3Mo oKn/f+6O4hjQOx/jqWtMHAfcs7jXXzlSzYz8a2Ew+yeKwGJo10d7s0ojERp+1FZeUZBY mX1Qfbt6tGnGBAbsQxOE0gxa/M26GUSrPMCcrrGupwb6covY/gol7UEwf5Ey/4j7r76I hfa437aNz4kzDt/5ZYlo09a7P2yU9H8Se/Izzdran461UIxxCIe54KADxGRtmgRewQcl HlnQ== X-Gm-Message-State: AOJu0Yzbm40QwMc/tZCWDU/RsE8KNyqwnGKzjJkDerSbfvyZOU862WDC kjci3vvfkYudA4CIM88XGkbozkh1DJiLOhFnqDEar3hpz9IYhlQxwjfYQDBJkjvbAYtF2h+nz4D SAvp1mXAE49mc2W7NAja11Z1nhWROiinT+R4= X-Google-Smtp-Source: AGHT+IFrzxci4LP89Mw3ujDuiX40eZBvOKgcQ1AY7fZidnhRN8GJcTby47/0xlhebhxkn4uO7RITvhdpYZzDUhBO958= X-Received: by 2002:a05:6a20:1e66:b0:1cf:4fd9:61db with SMTP id adf61e73a8af0-1cf75ec53e3mr27696959637.8.1726670286967; Wed, 18 Sep 2024 07:38:06 -0700 (PDT) MIME-Version: 1.0 From: Nala Ginrut <nalaginrut@HIDDEN> Date: Wed, 18 Sep 2024 23:37:54 +0900 Message-ID: <CAPjoZocrB8tFJ4UEqtm-rjhDvkv2pM=oZs6zDYxLgBKp_mMrRA@HIDDEN> Subject: [critical bug] The set! doesn't work in indirect reference To: bug-guile@HIDDEN Content-Type: multipart/alternative; boundary="000000000000195de6062265c1ff" Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=nalaginrut@HIDDEN; helo=mail-pf1-x42d.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Guile User <guile-user@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --000000000000195de6062265c1ff Content-Type: text/plain; charset="UTF-8" Hi folks! Recently I was bothered by a strange bug when debugging Artanis, here's how to reproduce. You need three files, say aaa.scm, bbb.scm, and entry ---------------------aaa.scm---------------- (define-module (aaa) #:export (global)) (define global #f) ----------------------aaa.scm end------------ ------------------bbb.scm---------------- (define-module (bbb) #:use-module (aaa) #:export (fun)) (define (fun) (pk 'before global) (set! global 123) (pk 'after global)) -------------------bbb.scm end------------- ------------------entry------------- (import (bbb)) (fun) -----------------entry end------------- Put all files in the same directory, and run: ----------------cut---------------- guile -L . entry ----------------end--------------- The result is: ;;; (before #f) ;;; (after #f) The expected result should be: ;; (before #f) ;; (after 123) ------------------------------------------ This was tested in 3.0.9 and 3.0.10. I also CC guile-user list, in case anyone was troubled by strange bugs, this may be a hint. Best regards. --000000000000195de6062265c1ff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi folks!<div>Recently I was bothered by a strange bug whe= n debugging Artanis, here's how to reproduce.</div><div>You need three = files, say aaa.scm, bbb.scm, and entry</div><div><br></div><div>-----------= ----------aaa.scm----------------</div><div>(define-module (aaa)<br>=C2=A0#= :export (global))</div><div><br>(define global #f)<br></div><div>----------= ------------aaa.scm end------------</div><div><br></div><div>--------------= ----bbb.scm----------------</div><div><div>(define-module (bbb)<br></div><d= iv>=C2=A0#:use-module (aaa)<br>=C2=A0#:export (fun))</div><div><br>(define = (fun)<br>=C2=A0(pk 'before global)<br>=C2=A0(set! global 123)<br>=C2=A0= (pk 'after global))</div></div><div>-------------------bbb.scm end-----= --------</div><div><br></div><div><br></div><div><br></div><div>-----------= -------entry-------------</div><div>(import (bbb))<br><br>(fun)<br></div><d= iv>-----------------entry end-------------</div><div><br></div><div><br></d= iv><div>Put all files in the same directory, and run:</div><div>-----------= -----cut----------------</div><div>guile -L . entry</div><div>-------------= ---end---------------</div><div><br></div><div><br></div><div>The result is= :</div><div>;;; (before #f)<br>;;; (after #f)<br></div><div><br></div><div>= The expected result should be:</div><div>;; (before #f)</div><div>;; (after= 123)</div><div><br></div><div>------------------------------------------</= div><div><br></div><div>This was tested in 3.0.9 and 3.0.10.</div><div><br>= </div><div>I also CC=C2=A0 guile-user list, in case anyone was troubled by = strange bugs, this may be a hint.</div><div><br></div><div><br></div><div>B= est regards.</div><div><br></div><div><br></div></div> --000000000000195de6062265c1ff--
Nala Ginrut <nalaginrut@HIDDEN>
:bug-guile@HIDDEN
.
Full text available.bug-guile@HIDDEN
:bug#73334
; Package guile
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.