From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Taylan Kammer Newsgroups: gmane.lisp.guile.bugs Subject: bug#72375: srfi-64: test-eqv evaluates test-name multiple times Date: Wed, 2 Oct 2024 00:18:59 +0200 Message-ID: <87cbf239-6707-49fe-b124-a4997b6ae656@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18726"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: Tomas Volf <~@wolfsden.cz>, 72375@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Oct 02 00:21:24 2024 Return-path: Envelope-to: guile-bugs@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 1svlFC-0004Zx-4f for guile-bugs@m.gmane-mx.org; Wed, 02 Oct 2024 00:21:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svlEt-0001nO-JE; Tue, 01 Oct 2024 18:21:03 -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 1svlEs-0001nA-LJ for bug-guile@gnu.org; Tue, 01 Oct 2024 18:21:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1svlEs-0003XE-BH for bug-guile@gnu.org; Tue, 01 Oct 2024 18:21:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=qv7NiX9dmoZOY63/D7K8hOG3v9GmOT3Xod3WGcUD41U=; b=MY14bg6t+npoVC5vbCqfT0Nwsc4avajx6qndw+oQrCTKT23pp/8RTOaTJ8ntPGOSMSoHTtOHF4DAT44tTwn0vvXq7vwX4k/3qPAAZ35w1a9rTGB5Ck2NAHm6B+2bamhPHljq3moLBjpYUEiknNFSnSC/+EGh02uWoXuGD1YlDXFmsCvvj9rdD/8IyYL5CHkmBj+XsEHmEBrttOiau7JjuxfZFBfCX+i/3rDIYifSvqUo2py2OAnhUF7DClZY5RaWtqc7eRugz5LbgTFfc0fxjWwdZ9LiRm6m+Wqz3+8jmZRGrHXq3Cun/AEyy2yZfM975BWnHJVakOEKJLIbbefW8A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1svlEr-0005rU-Sm for bug-guile@gnu.org; Tue, 01 Oct 2024 18:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Taylan Kammer Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 01 Oct 2024 22:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72375 X-GNU-PR-Package: guile Original-Received: via spool by 72375-submit@debbugs.gnu.org id=B72375.172782120422088 (code B ref 72375); Tue, 01 Oct 2024 22:21:01 +0000 Original-Received: (at 72375) by debbugs.gnu.org; 1 Oct 2024 22:20:04 +0000 Original-Received: from localhost ([127.0.0.1]:54033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svlDv-0005k6-OB for submit@debbugs.gnu.org; Tue, 01 Oct 2024 18:20:04 -0400 Original-Received: from mail-ed1-f53.google.com ([209.85.208.53]:38735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svlDt-0005iW-EY for 72375@debbugs.gnu.org; Tue, 01 Oct 2024 18:20:02 -0400 Original-Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-5c876b6c061so594209a12.3 for <72375@debbugs.gnu.org>; Tue, 01 Oct 2024 15:20:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727821141; x=1728425941; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=qv7NiX9dmoZOY63/D7K8hOG3v9GmOT3Xod3WGcUD41U=; b=IGZEHSalBy3nBkDheO7h+2Y3ldQPCIb3PR4+NP1WA5tiFG9Jopg5WTDWq5bNs1PZ9S I9hsLbrXna9ns54Smigg/XoBPYsbopZIC02jy80BP1LOJMhuU+Bn0a77VMcR6NQl6P1z RDErwvA14MwD2exFBiAayPXehUjBfW10/eyHCOHx8lrWI/UfNmUyR3ZY2yag3eMYmmfX FlWOaRZ27SfXkumD4KYpKBxt/5XlkvdHqMUw1RQxJZvsOdsUXxk+rJt9wsJX8A+H8K1q V89WUmyBtz/JwqzqPh3cDtd9H+KC6aKFR2fmoj9e9azd/HuVmrZNVxWvZqOE8CZTaGau RAgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727821141; x=1728425941; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qv7NiX9dmoZOY63/D7K8hOG3v9GmOT3Xod3WGcUD41U=; b=k+vNUzJOA0f2TZqwDqgGCmcXwrXGZFmKqz323WowEOBBGPMdFwKuQXM2BfKyBa1B4C SDSlxiHpaGBLSRjL7/XQ2padeGCKsE7xBwzUQYD1vWHkJzeopHzo/KaOEoJcMgsPkdal mPay8n82f/NI75aS5NzmkI9vbyB10ohFD6AjhF1TejI3gO+eU8MNRkSdeD3yTPSXi+Zb cq8eHGDoK/rWBjY/hB+H10cIq1NTVozsx0OUZ9rvVF9yrc+1NZMFhMFlW4UnH6K9dK9i JKvIGPR0IP9jmgFsv7bEQCFh8lt6fUNoLrea++pS2p2YCBdla3BrRE3hRwyDvLEE/1Hi qXdw== X-Forwarded-Encrypted: i=1; AJvYcCUIqtKQ/zD0YT1PG94lEgBbqruyxSB8RItNx/nbsmOfTey9qXNNiO5gJUEJJmYNPyPG1WPfKA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxYAShul9rTFV0bsn/gYNgu+cVo0L8jNVHKyMXXvjZatCs/m87q e3zxXbaWlUHdcBIQKJjqzWhiGJZ115gSl5dGmAVfLdz69O5u3BFN X-Google-Smtp-Source: AGHT+IGy8Yk0t9sALmhjfnqYXNUdNW0AD1okpmkiTY7KxO0t9sCw9rr1/BRuyFFsxkp9Kdek8K6c9w== X-Received: by 2002:a05:6402:5216:b0:5c8:8381:c29d with SMTP id 4fb4d7f45d1cf-5c8b18b0fcamr248638a12.1.1727821140780; Tue, 01 Oct 2024 15:19:00 -0700 (PDT) Original-Received: from ?IPV6:2003:106:8f04:c300:95ac:529d:6db3:196b? (p200301068f04c30095ac529d6db3196b.dip0.t-ipconnect.de. [2003:106:8f04:c300:95ac:529d:6db3:196b]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c882493b74sm6783292a12.79.2024.10.01.15.19.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Oct 2024 15:19:00 -0700 (PDT) Content-Language: en-US In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:11006 Archived-At: On 30.07.2024 21:51, Tomas Volf wrote: > Hello, > > I think I found a bug in (srfi srfi-64) module shipped with GNU Guile. > > The specification says that test-eqv is equivalent to: > >> (test-assert [test-name] (eqv? expected test-expr)) > Hence the test-assert's requirement to evaluate test-name only once applies. > > However the test-name is evaluated multiple times: > > (use-modules (srfi srfi-64)) > (test-begin "x") > (test-eqv (pk "t") #t #t) > > Leading to: > > ;;; ("t") > > ;;; ("t") > > Have a nice day > Tomas Volf > > Same exact deal as in bug reports 72372 and 72373. Affected line is 768 this time. Already fixed in my implementation. - Taylan