[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)
- [Guile-commits] branch master updated (2cca091 -> f060f1a), Andy Wingo, 2019/10/22
- [Guile-commits] 01/07: Refactor PEG records, Andy Wingo, 2019/10/22
- [Guile-commits] 02/07: Remove (ice-9 channel), Andy Wingo, 2019/10/22
- [Guile-commits] 06/07: Allow records to be subtyped, Andy Wingo, 2019/10/22
- [Guile-commits] 04/07: Deprecate two-arg `record-constructor', Andy Wingo, 2019/10/22
- [Guile-commits] 03/07: Re-implement (ice-9 gap-buffer) records in terms of srfi-9, Andy Wingo, 2019/10/22
- [Guile-commits] 05/07: Fix deprecated 1-arg `make-module' in tests,
Andy Wingo <=
- [Guile-commits] 07/07: Record accessors respect subtyping, Andy Wingo, 2019/10/22