diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-04-19 12:33:25 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-01-22 23:04:05 +0100 |
commit | c2dcff41c2e47f5f978f467864d5ed7829939884 (patch) | |
tree | 2830b58567dd6a9a03fb40dfafef75eea491b1ef /tests/scripts.scm | |
parent | c498aaaf110cd7f6950ea47e637725e0513655d4 (diff) | |
download | patches-c2dcff41c2e47f5f978f467864d5ed7829939884.tar patches-c2dcff41c2e47f5f978f467864d5ed7829939884.tar.gz |
records: Detect duplicate field initializers.
* guix/records.scm (report-duplicate-field-specifier): New procedure.
(make-syntactic-constructor): Call it.
* tests/records.scm ("define-record-type* & duplicate initializers"):
New test.
Co-authored-by: Mark H Weaver <mhw@netris.org>
Diffstat (limited to 'tests/scripts.scm')
0 files changed, 0 insertions, 0 deletions