guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 05/07: Fix deprecated 1-arg `make-module' in tests


From: Andy Wingo
Subject: [Guile-commits] 05/07: Fix deprecated 1-arg `make-module' in tests
Date: Tue, 22 Oct 2019 10:23:21 -0400 (EDT)

wingo pushed a commit to branch master
in repository guile.

commit 6205c2d7d44b3be61d01b697efe38a8b6a3c5b26
Author: Andy Wingo <address@hidden>
Date:   Tue Oct 22 14:00:12 2019 +0200

    Fix deprecated 1-arg `make-module' in tests
    
    * test-suite/tests/modules.test ("circular imports"): Use nullary
      make-module.
---
 test-suite/tests/modules.test | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test-suite/tests/modules.test b/test-suite/tests/modules.test
index d99b961..de595c0 100644
--- a/test-suite/tests/modules.test
+++ b/test-suite/tests/modules.test
@@ -1,6 +1,6 @@
 ;;;; modules.test --- exercise some of guile's module stuff -*- scheme -*-
 
-;;;; Copyright (C) 2006, 2007, 2009-2011, 2014 Free Software Foundation, Inc.
+;;;; Copyright (C) 2006, 2007, 2009-2011, 2014, 2019 Free Software Foundation, 
Inc.
 ;;;;
 ;;;; This library is free software; you can redistribute it and/or
 ;;;; modify it under the terms of the GNU Lesser General Public
@@ -446,7 +446,7 @@
                      (define from-b 2))
                   (current-module)))
           (define (submodule-binder mod name)
-            (let ((m (make-module 31)))
+            (let ((m (make-module)))
               (set-module-kind! m 'directory)
               (set-module-name! m (append (module-name mod) (list name)))
               (module-define-submodule! mod name m)



reply via email to

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