gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-scheme] 02/07: records: Check for keywords correctly.


From: gnunet
Subject: [gnunet-scheme] 02/07: records: Check for keywords correctly.
Date: Sat, 04 Mar 2023 02:26:57 +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 ac3a94259cf1b3fbbc591e5c50587587aec075ea
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat Mar 4 01:42:24 2023 +0100

    records: Check for keywords correctly.
    
    Oops committed too early ...
    
    * gnu/gnunet/utils/records.scm
    (process)[constructor-keyword-arguments*/different]: Convert syntax
    into a datum before using 'keyword?'.
---
 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 2a8c874..7fc7038 100644
--- a/gnu/gnunet/utils/records.scm
+++ b/gnu/gnunet/utils/records.scm
@@ -165,7 +165,7 @@
                     (bindings #'()))
            (syntax-case s ()
              ((keyword . rest)
-              (keyword? #'keyword)
+              (keyword? (syntax->datum #'keyword))
               #`(keyword . #,(loop #'rest bindings)))
              ((i . rest)
               (identifier? #'i)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]