From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Volf <~@wolfsden.cz> Newsgroups: gmane.lisp.guile.bugs Subject: bug#72366: srfi-64: on-bad-end-name-function has swapped arguments Date: Tue, 30 Jul 2024 21:51:53 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24877"; mail-complaints-to="usenet@ciao.gmane.io" To: 72366@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Jul 30 21:53:46 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 1sYsuo-0006LA-Bh for guile-bugs@m.gmane-mx.org; Tue, 30 Jul 2024 21:53:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYstu-0004z9-W5; Tue, 30 Jul 2024 15:52:51 -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 1sYsts-0004y8-W5 for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:49 -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 1sYsts-0006xN-Mc for bug-guile@gnu.org; Tue, 30 Jul 2024 15:52:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=fZPvym38jfr5nuOT4PhsfrHjdycmxMRPuUQS3sTcCbo=; b=IJRAORNzBi3OY8pzF1jBzKttfTpJwDFVu/WamhIcoQKRQQGPuFIGyizxScsndkjwForMrwp8fJt35aq9BDXIJr23VC/eZmNCK1OlXG6Eg5rK13hdmOR6kfYjI7PIu81Yo4e3veIT75KHkakefoEf6k8I88OsHp+vj6gIAH0FxgeqFEWLHtbryU2HTHiakJpcbCvZEsmlFOPMXPIruEVytbhYTeJvqrgliHEky5ifQJSGH92uHN/9tKBK4hV57XDq1CaGGwS//cxpt8eMNKQBzOvny3xTgi55j/CNeH2StqFu4GeFm3BzODgKfgNTnKoqkF2YMhaQVMPQoX9XezbgwQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sYsu7-0006bm-13 for bug-guile@gnu.org; Tue, 30 Jul 2024 15:53:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 30 Jul 2024 19:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72366 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172236913625096 (code B ref -1); Tue, 30 Jul 2024 19:53:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jul 2024 19:52:16 +0000 Original-Received: from localhost ([127.0.0.1]:48441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYstM-0006Wc-DP for submit@debbugs.gnu.org; Tue, 30 Jul 2024 15:52:16 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sYstK-0006W4-9X for submit@debbugs.gnu.org; Tue, 30 Jul 2024 15:52:15 -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 <~@wolfsden.cz>) id 1sYst5-0004sB-Gr for bug-guile@gnu.org; Tue, 30 Jul 2024 15:51:59 -0400 Original-Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sYst3-0006qs-Ln for bug-guile@gnu.org; Tue, 30 Jul 2024 15:51:59 -0400 Original-Received: by wolfsden.cz (Postfix, from userid 104) id 00516293593; Tue, 30 Jul 2024 19:51:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1722369114; bh=NchZweYC0IHNL/u7fHw3UbZNsytDuAjK43prOGAr78o=; h=Date:From:To:Subject; b=Ok39i/hmDZOzuLlhnxdGt25QiJN5v5rNZVqjtBKbAW4IVGeBaePc6nXkq0cLbYLFc kiJkZ3Xwul1VBXfCMD5QEHg6u9PFep/G+XfYNUnvajcML4SO0Js6iEb8H5cG1CZ8mx FZzbAE5+at4DRVnOQbWhvHk0KMa85WwO1iuHn2o7zmqQTslbLsTz4h4QHgg9OEsCjO EZGrspNIuo63RUgf1hghFB2yf/lmbgOk0ihy2d+BtJOzjGut5m7pBsNcB5Ryefvwid FDzJ2r0dRVJjZ4xbHsiF6A0f8aGqVmc1eFFTb77jVnwH+J9JL/LmGVnDLTcEZ7ZJhc SKUum6h27NRQqrktpFq2i1s24cL0d5ie52D7Ef3XVfOgFIdcSnyG59J3x19+ZUuL+t 9oZ47pOOyLIkZ/z/fgjEEN+DgczjUeoyErliMwxAxG1ZARIG0qtrgrC9DLmK6uYeLD p/uODwvhNZEvMIRLsDTaXBoXT3XMLWrlgjOLjK6TcM8bgIkkkuKDV1LW5duFQRRetN onXuPSFYjc/xWvYGQydBWUcOOZcDSrXEU6UY9VXXAfVQ04bm7kmbFPClmDAp8y/T6q luSMx00B7xEgUY1DZYIvd1/xMXbrt0ffmFNPM+0XNA/hcEiEcjW/U07JONgMjZune4 5v6k/TyqJ6MrOQqKKuvPc130= Original-Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id B271B29147D for ; Tue, 30 Jul 2024 19:51:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1722369113; bh=NchZweYC0IHNL/u7fHw3UbZNsytDuAjK43prOGAr78o=; h=Date:From:To:Subject; b=HGbB8ZrJhgjjYWb+x0kmVMpN4IJG75ht/R+/15k8PQU6eRq1Di6BEdFnXEvc6M+2I jtWXIIFxq/0KhlzfYbpq8YNYA+GUcf4dIWJIca81tOANjhHICmg3skcYF7Zo0s3tRP vx1OpcwS96u6r/udbh9bHvqPfX+fitz6pBBB4UzGD/o+wln5LyPVTPw3rGogBMzokt fYUwfnZpP0O5dJ56Eyxufk7CbeFSGuVkYFkZzZdjpZJkhF0G2Vce+2zOX3P37GRwPt v/V0NAZxZBf4V3JfI2sD2fnod4saMBI70Ap6H6pDmdhGr6PB8uvNqIdcSa+C1CYNx5 kk5D20jAIwFrdtqTWB78iD1uo7rlGlMuQdKjXWNRYdTuBY97BNvSg0vSjQIwOcYNok qRVVRovyFXntgVkNCEeVIabstiMXuq6yjhkWxTSqBZWunkO106fqsZaSCMCS8PUpVh gZFU9NFH4UrVnZzd+Xc9i+rorgSual1ixU04anhJOssqXZuqMox7PKmTxJ0JF6p9R5 aU9Ff8S/410wi/MZzY43rqOm8bkmZQnGws7fmsYzNCpT9Gd3sFy6DQJEl1f5LQxaIK ZFt9PFtQodWaLC6L/o5v1xOpncv2QVIe2fVhFfXzAyqj5tvr5VME73wM8ftnD/HWD6 Ar05Z5Igb2XKTcfwC/FxX0g4= Content-Disposition: inline Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:10917 Archived-At: Hello, I think I found a bug in (srfi srfi-64) module shipped with GNU Guile. The specification describes the on-bad-end-name-function like this: (on-bad-end-name-function runner begin-name end-name) Thus the following should print `x': (use-modules (srfi srfi-64)) (let ((r (test-runner-null))) (test-runner-current r) (test-runner-on-bad-end-name! r (λ (runner begin-name end-name) (pk begin-name))) (test-begin "x") (test-assert #t) (test-end "y")) But it does not: ;;; ("y") Have a nice day Tomas Volf