From: Andy Wingo <wingo@pobox.com>
To: "Göran Weinholt" <goran@weinholt.se>
Cc: 38611-done@debbugs.gnu.org
Subject: bug#38611: Guile 2.9.7 regression: "duplicate" record field names
Date: Sun, 12 Jan 2020 21:56:55 +0100 [thread overview]
Message-ID: <877e1wo0ko.fsf@pobox.com> (raw)
In-Reply-To: <874ky3xcdd.fsf@teapot.weinholt.se> ("Göran Weinholt"'s message of "Sat, 14 Dec 2019 14:31:10 +0100")
On Sat 14 Dec 2019 14:31, Göran Weinholt <goran@weinholt.se> 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
prev parent reply other threads:[~2020-01-12 20:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-14 13:31 bug#38611: Guile 2.9.7 regression: "duplicate" record field names Göran Weinholt
2020-01-12 20:56 ` Andy Wingo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877e1wo0ko.fsf@pobox.com \
--to=wingo@pobox.com \
--cc=38611-done@debbugs.gnu.org \
--cc=goran@weinholt.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).