fix argument-error report
Merge to 5.2
This commit is contained in:
parent
a0e2401cbe
commit
6aaa0d44c0
|
@ -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