1
Fork 0
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:
Thien-Thi Nguyen 2001-08-30 23:30:12 +00:00
parent df1cc476e4
commit f9da74b0f6

View file

@ -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))))