mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-23 20:05:32 +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)))
|
||||
(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))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue