Subject: bug#63115: match-record cryptic error message on unbound record type

From: "(" <[email-masked]>
Date: Thu, 27 Apr 2023 23:10:52 +0100

Maxim Cournoyer <[email-masked]> writes:
> When a record type is not in scope, the error message produced by the
> match-record macro from (guix records) reads something like:
>
> --8<---------------cut here---------------start------------->8---
> guix/records.scm:598:32: map-fields: bad use of syntactic keyword in subform map-fields of map-fields
> --8<---------------cut here---------------end--------------->8---

Josselin made a patch, which I adapted and submitted at
<https://issues.guix.gnu.org/63135>.