1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-15 08:10:17 +02:00

Have `the-scm-module' be its own public interface (bug #30623).

* module/ice-9/boot-9.scm (the-scm-module): Make it its own public
  interface.

* test-suite/tests/modules.test ("foundations")["the-root-module",
  "the-scm-module"]: New tests.
This commit is contained in:
Ludovic Courtès 2011-02-13 15:36:52 +01:00
parent 6f06e8d35f
commit 7354a105cd
2 changed files with 18 additions and 6 deletions

View file

@ -2187,6 +2187,10 @@ VALUE."
(set-module-name! m '(guile))
(set-module-kind! m 'interface)
(set-system-module! m #t)
;; In Guile 1.8 and earlier M was its own public interface.
(set-module-public-interface! m m)
m))
(set-module-public-interface! the-root-module the-scm-module)