In `make-property-contract', transfer arity from procedure to contract
wrapper. svn: r15933
This commit is contained in:
parent
7437bdec03
commit
38d9c6d8af
|
@ -231,6 +231,7 @@
|
|||
(contract-violation proc self "wrong number of parameters" #f)))
|
||||
(attach-name
|
||||
(object-name proc)
|
||||
(procedure-reduce-arity
|
||||
(lambda args
|
||||
(call-with-immediate-continuation-mark
|
||||
contract-key
|
||||
|
@ -261,7 +262,8 @@
|
|||
;; blame the procedure
|
||||
(old-violation-proc obj contract message blame-syntax))
|
||||
(lambda ()
|
||||
(apply-contract return-contract retval))))))))))))))
|
||||
(apply-contract return-contract retval)))))))))))
|
||||
(procedure-arity proc)))))
|
||||
syntax
|
||||
(delay
|
||||
(apply lift->arbitrary arbitrary-procedure return-contract arg-contracts)))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user