Show the offending value when a TR-introduced Any contract fails

original commit: c5df74f662bf5eb733211a33db256f91bb11dfaa
This commit is contained in:
Tony Garnock-Jones 2013-03-21 21:43:30 -04:00 committed by Vincent St-Amour
parent 6bdd1c3c17
commit e25d827eb0

View File

@ -9,7 +9,7 @@
(define (fail v)
(raise-blame-error
(blame-swap b) v
"Attempted to use a higher-order value passed as `Any` in untyped code"))
"Attempted to use a higher-order value passed as `Any` in untyped code: ~v" v))
(define (t v)
(define (wrap-struct s)