From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#38611: Guile 2.9.7 regression: "duplicate" record field names Date: Sun, 12 Jan 2020 21:56:55 +0100 Message-ID: <877e1wo0ko.fsf@pobox.com> References: <874ky3xcdd.fsf@teapot.weinholt.se> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="263194"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 38611-done@debbugs.gnu.org To: =?UTF-8?Q?G=C3=B6ran?= Weinholt Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Sun Jan 12 21:59:21 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iqkJG-000v64-Lq for guile-bugs@m.gmane-mx.org; Sun, 12 Jan 2020 21:58:10 +0100 Original-Received: from localhost ([::1]:41744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqkJF-00085N-EG for guile-bugs@m.gmane-mx.org; Sun, 12 Jan 2020 15:58:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48151) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqkJ9-000852-MH for bug-guile@gnu.org; Sun, 12 Jan 2020 15:58:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqkJ8-0000Pe-Lh for bug-guile@gnu.org; Sun, 12 Jan 2020 15:58:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iqkJ8-0000Ot-HN for bug-guile@gnu.org; Sun, 12 Jan 2020 15:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iqkJ8-0007qL-Hy for bug-guile@gnu.org; Sun, 12 Jan 2020 15:58:02 -0500 Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Sun, 12 Jan 2020 20:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 38611 X-GNU-PR-Package: guile Mail-Followup-To: 38611@debbugs.gnu.org, wingo@pobox.com, goran@weinholt.se Original-Received: via spool by 38611-done@debbugs.gnu.org id=D38611.157886263530090 (code D ref 38611); Sun, 12 Jan 2020 20:58:02 +0000 Original-Received: (at 38611-done) by debbugs.gnu.org; 12 Jan 2020 20:57:15 +0000 Original-Received: from localhost ([127.0.0.1]:58123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqkIM-0007pG-PA for submit@debbugs.gnu.org; Sun, 12 Jan 2020 15:57:15 -0500 Original-Received: from fanzine.igalia.com ([178.60.130.6]:39680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqkIK-0007on-HG for 38611-done@debbugs.gnu.org; Sun, 12 Jan 2020 15:57:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=2KZC6k15yWKTyJgqp7iKVPLe+hXbVcpKOo9HCAVw0sw=; b=KywkdVFwOUlNmdXNiQZhCscsa1dz5E3tzPqjnIEuz4Zf+i66h95G2MT0P5Ig84JL+YyOeeGcmfLjMLcskVYLASUUCnWAcSb2vuBJHxGdjmKKKBosMWSYAKeZ9pjq1Z96N/TXMskzGPNgyLwRQ31q+4PSVk9TOeFfOGjYLTNqWdjgc21g+0EsjbD1vQ0ofBiIEW3oSD+ReaUUZjDs/WO16z4LzOeJxOCoMQyby2D73lo0vpytG8y2eUbITwtRdOJYj6Y1oppGx6HVV+ZcjYd3hwwN0rgttRADiuUXmKe0NbCiFIT2Zk3iaUPaK1a4iGd/NmJViDD+vhy1FMCXFjUsWw==; Original-Received: from [88.123.12.110] (helo=sparrow) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1iqkIE-000056-7h; Sun, 12 Jan 2020 21:57:06 +0100 In-Reply-To: <874ky3xcdd.fsf@teapot.weinholt.se> ("=?UTF-8?Q?G=C3=B6ran?= Weinholt"'s message of "Sat, 14 Dec 2019 14:31:10 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.org gmane.lisp.guile.bugs:9503 Archived-At: On Sat 14 Dec 2019 14:31, G=C3=B6ran Weinholt writes: > The following program works in Guile 2.2.6 (and other R6RS > implementations), but raises an exception in Guile 2.9.7. A field called > "name" exists in record type a and record type b, but there is no actual > naming conflict as I understand it. > > (import (rnrs)) > > (define-record-type a > (fields name)) > > (define-record-type b > (parent a) > (fields name)) > > (let ((x (make-b 'a 'b))) > (write (list (a-name x) > (b-name x))) > (newline)) Fixed in master. Thanks for the report! Andy