fix argument-error report
Merge to 5.2
(cherry picked from commit 6aaa0d44c0
)
This commit is contained in:
parent
4f355fbc65
commit
c2ccac22ac
|
@ -175,7 +175,7 @@
|
|||
(unless (or (module-path? module-path) (path? module-path))
|
||||
(raise-type-error who "module-path or path" module-path))
|
||||
(unless (symbol? function)
|
||||
(raise-type-error who "symbol" module-path))
|
||||
(raise-type-error who "symbol" function))
|
||||
(unless (or (not in) (input-port? in))
|
||||
(raise-type-error who "input-port or #f" in))
|
||||
(unless (or (not out) (output-port? out))
|
||||
|
|
Loading…
Reference in New Issue
Block a user