mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-03 18:50: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))))
|
(seen (if direct? bspec (cdr bspec))))
|
||||||
(module-add! custom-i (renamer seen)
|
(module-add! custom-i (renamer seen)
|
||||||
(or (module-local-variable public-i orig)
|
(or (module-local-variable public-i orig)
|
||||||
|
(module-local-variable module orig)
|
||||||
(error
|
(error
|
||||||
;; fixme: format manually for now
|
;; fixme: format manually for now
|
||||||
(simple-format
|
(simple-format
|
||||||
#f "no binding `~A' exported from module ~A"
|
#f "no binding `~A' in module ~A"
|
||||||
orig name))))))
|
orig name))))))
|
||||||
selection)
|
selection)
|
||||||
custom-i))))
|
custom-i))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue