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
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

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)