records: Use 'make-struct/no-tail'.
authorLudovic Courtès <ludo@gnu.org>
Fri, 1 Dec 2017 17:09:22 +0000 (18:09 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 1 Dec 2017 17:47:34 +0000 (18:47 +0100)
* guix/records.scm (make-syntactic-constructor): Use
'make-struct/no-tail' as 'make-struct' is deprecated as of 2.2.3.

guix/records.scm

index 1f00e16..c02395f 100644 (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)