1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-24 04:15:36 +02:00

(resolve-interface): Get variables from the public interface of a

module instead of from the module itselfs.
This commit is contained in:
Marius Vollmer 2001-08-25 16:10:33 +00:00
parent 118b24260c
commit 05616098de

View file

@ -1712,11 +1712,11 @@
(orig (if direct? bspec (car bspec)))
(seen (if direct? bspec (cdr bspec))))
(module-add! custom-i (renamer seen)
(or (module-local-variable module orig)
(or (module-local-variable public-i orig)
(error
;; fixme: format manually for now
(simple-format
#f "no binding `~A' in module ~A"
#f "no binding `~A' exported from module ~A"
orig name))))))
selection)
custom-i))))