1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-29 03:59:30 +02:00

records: Use 'make-struct/no-tail'.

* guix/records.scm (make-syntactic-constructor): Use
'make-struct/no-tail' as 'make-struct' is deprecated as of 2.2.3.
This commit is contained in:
Ludovic Courtès
2017-12-01 18:09:22 +01:00
parent 2e7825bc7b
commit cea25b08bf
+1 -1
View File
@@ -81,7 +81,7 @@ fields, and DELAYED is the list of identifiers of delayed fields."
(record-error 'name s "extraneous field initializers ~a"
unexpected)))
#`(make-struct type 0
#`(make-struct/no-tail type
#,@(map (lambda (field index)
(or (field-inherited-value field)
(if (innate-field? field)