mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-02 02:10:19 +02:00
(resolve-interface): When returning a custom
interface, also consult source module's entire binding set, not just its exported bindings, before throwing error.
This commit is contained in:
parent
df1cc476e4
commit
f9da74b0f6
1 changed files with 17 additions and 16 deletions
|
@ -1713,10 +1713,11 @@
|
|||
(seen (if direct? bspec (cdr bspec))))
|
||||
(module-add! custom-i (renamer seen)
|
||||
(or (module-local-variable public-i orig)
|
||||
(module-local-variable module orig)
|
||||
(error
|
||||
;; fixme: format manually for now
|
||||
(simple-format
|
||||
#f "no binding `~A' exported from module ~A"
|
||||
#f "no binding `~A' in module ~A"
|
||||
orig name))))))
|
||||
selection)
|
||||
custom-i))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue