Show the offending value when a TR-introduced Any contract fails
This commit is contained in:
parent
f2616b934c
commit
c5df74f662
|
@ -9,7 +9,7 @@
|
||||||
(define (fail v)
|
(define (fail v)
|
||||||
(raise-blame-error
|
(raise-blame-error
|
||||||
(blame-swap b) v
|
(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 (t v)
|
||||||
(define (wrap-struct s)
|
(define (wrap-struct s)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user