1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00

Remove extra 'error' call in 'make-record-type'.

* module/ice-9/boot-9.scm (make-record-type)[computed-fields]: Remove
extra 'error' call.
This commit is contained in:
Ludovic Courtès 2020-03-06 17:59:51 +01:00
parent d49453259b
commit 8a25546a94

View file

@ -1082,7 +1082,7 @@ VALUE."
(memq (car field) '(mutable immutable)) (memq (car field) '(mutable immutable))
(pair? (cdr field)) (pair? (cdr field))
(null? (cddr field))) (null? (cddr field)))
(error (error "bad field declaration" field))) (error "bad field declaration" field))
(cadr field)))) (cadr field))))
fields))) fields)))
(check-fields fields) (check-fields fields)