Pass back the procedure on certain signature violations.
Closes PR 11117.
This commit is contained in:
parent
8d2db5f4bf
commit
225a42b832
|
@ -342,9 +342,11 @@
|
|||
(values thing #f))))
|
||||
(cond
|
||||
((not (procedure? proc))
|
||||
(signature-violation proc self #f #f))
|
||||
(signature-violation proc self #f #f)
|
||||
thing)
|
||||
((not (procedure-arity-includes? proc arg-count)) ; #### variable arity
|
||||
(signature-violation proc self "falsche Anzahl von Parametern" #f))
|
||||
(signature-violation proc self "falsche Anzahl von Parametern" #f)
|
||||
thing)
|
||||
(else
|
||||
(attach-name
|
||||
(object-name proc)
|
||||
|
|
Loading…
Reference in New Issue
Block a user