fixed error reporting code to see string
This commit is contained in:
parent
40e972d87e
commit
a8d799325f
|
@ -397,7 +397,7 @@
|
|||
#`(let ([expr test-expr])
|
||||
(if (not (#,type? expr))
|
||||
#,(syntax/loc #'test-expr
|
||||
(error 'type-case "expected a value from type ~a, got: ~a"
|
||||
(error 'type-case "expected a value from type ~a, got: ~e"
|
||||
'type-id
|
||||
expr))
|
||||
(cond
|
||||
|
|
Loading…
Reference in New Issue
Block a user