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:
parent
118b24260c
commit
05616098de
1 changed files with 2 additions and 2 deletions
|
@ -1712,11 +1712,11 @@
|
||||||
(orig (if direct? bspec (car bspec)))
|
(orig (if direct? bspec (car bspec)))
|
||||||
(seen (if direct? bspec (cdr bspec))))
|
(seen (if direct? bspec (cdr bspec))))
|
||||||
(module-add! custom-i (renamer seen)
|
(module-add! custom-i (renamer seen)
|
||||||
(or (module-local-variable module orig)
|
(or (module-local-variable public-i orig)
|
||||||
(error
|
(error
|
||||||
;; fixme: format manually for now
|
;; fixme: format manually for now
|
||||||
(simple-format
|
(simple-format
|
||||||
#f "no binding `~A' in module ~A"
|
#f "no binding `~A' exported from module ~A"
|
||||||
orig name))))))
|
orig name))))))
|
||||||
selection)
|
selection)
|
||||||
custom-i))))
|
custom-i))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue