Fixes bug 162834: Typo in error message.
This commit is contained in:
parent
d18a041840
commit
745c3be26e
|
@ -155,8 +155,7 @@
|
||||||
|
|
||||||
(define (find-external-library name)
|
(define (find-external-library name)
|
||||||
(when (member name (external-pending-libraries))
|
(when (member name (external-pending-libraries))
|
||||||
(error #f "circular attempt to import library was detected"
|
(error #f "circular attempt to import library was detected" name))
|
||||||
name))
|
|
||||||
(parameterize ((external-pending-libraries
|
(parameterize ((external-pending-libraries
|
||||||
(cons name (external-pending-libraries))))
|
(cons name (external-pending-libraries))))
|
||||||
(let ((lib-expr ((library-locator) name)))
|
(let ((lib-expr ((library-locator) name)))
|
||||||
|
@ -166,7 +165,7 @@
|
||||||
(or (find-library-by
|
(or (find-library-by
|
||||||
(lambda (x) (equal? (library-name x) name)))
|
(lambda (x) (equal? (library-name x) name)))
|
||||||
(error #f
|
(error #f
|
||||||
"handling external library did not yield the currect library"
|
"handling external library did not yield the correct library"
|
||||||
name)))))
|
name)))))
|
||||||
|
|
||||||
(define (find-library-by-name name)
|
(define (find-library-by-name name)
|
||||||
|
|
Loading…
Reference in New Issue