[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] 02/08: utils/records: Fix auto-generated constructor/cop
From: |
gnunet |
Subject: |
[gnunet-scheme] 02/08: utils/records: Fix auto-generated constructor/copy docstring. |
Date: |
Thu, 09 Feb 2023 15:47:59 +0100 |
This is an automated email from the git hooks/post-receive script.
maxime-devos pushed a commit to branch master
in repository gnunet-scheme.
commit 6144a9e2704e5c18687500f014ada033c4c6d641
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Wed Feb 8 15:41:21 2023 +0100
utils/records: Fix auto-generated constructor/copy docstring.
Previously, ony a single value was returned, while two were needed.
* gnu/gnunet/utils/records.scm (copy*, copy-docstring):
Set the docstring to #false if 'copy' is unset and
constructor/copy is set.
---
gnu/gnunet/utils/records.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/gnunet/utils/records.scm b/gnu/gnunet/utils/records.scm
index becf263..590f308 100644
--- a/gnu/gnunet/utils/records.scm
+++ b/gnu/gnunet/utils/records.scm
@@ -104,7 +104,7 @@
;; The generated code for 'constructor/copy*' expects
;; a 'copy' procedure to exist.
(if (and (eq? copy unset) (not (eq? constructor/copy unset)))
- (car (generate-temporaries '(copy)))
+ (values (car (generate-temporaries '(copy))) #false)
(maybe-identifier-maybe-with-docstring copy)))
(define-values (constructor/copy* constructor/copy-docstring)
(maybe-identifier-maybe-with-docstring constructor/copy))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet-scheme] branch master updated (86e6038 -> 671b95d), gnunet, 2023/02/09
- [gnunet-scheme] 04/08: utils/records: Give preprocessors access to previous fields., gnunet, 2023/02/09
- [gnunet-scheme] 02/08: utils/records: Fix auto-generated constructor/copy docstring.,
gnunet <=
- [gnunet-scheme] 03/08: utils/records: Support copying when #:read-only-slice-wrapper=#false., gnunet, 2023/02/09
- [gnunet-scheme] 01/08: WIP new construct + analyse, gnunet, 2023/02/09
- [gnunet-scheme] 07/08: dht/client: Define equality procedure for datums., gnunet, 2023/02/09
- [gnunet-scheme] 06/08: doc/distributed-hash-table: Normalise language for normalisation of type., gnunet, 2023/02/09
- [gnunet-scheme] 08/08: dht/client: Fix typo: € -> e., gnunet, 2023/02/09
- [gnunet-scheme] 05/08: dht/client: Rewrite <datum> in terms of cisw., gnunet, 2023/02/09