Replaced guilty-party with equivalent.

svn: r17739
This commit is contained in:
Carl Eastlund 2010-01-19 06:29:15 +00:00
parent 5d7774e7b2
commit 9d7ca20eeb

View File

@ -7159,7 +7159,11 @@ so that propagation occurs.
(and (exn? x)
(regexp-match #rx"pce8-bug" (exn-message x)))))
(contract-eval `(,test 'pos guilty-party (with-handlers ((void values)) (contract not #t 'pos 'neg))))
(contract-eval
`(,test
'pos
(compose blame-guilty exn:fail:contract:blame-object)
(with-handlers ((void values)) (contract not #t 'pos 'neg))))
(report-errs)