Tell Typed Racket about the initial error continuation. (#1950)
Closes racket/typed-racket#660.
This commit is contained in:
parent
dd2a0dceb3
commit
9fe03ff6d9
|
@ -80,6 +80,9 @@
|
|||
(syntax-property
|
||||
(quasisyntax/loc stx
|
||||
(let ([xs exprs*] ...)
|
||||
(define (outer-fail) raise-error)
|
||||
body))
|
||||
(let ([outer-fail
|
||||
#,(syntax-property
|
||||
#'(λ () raise-error)
|
||||
'typechecker:called-in-tail-position #t)])
|
||||
body)))
|
||||
'feature-profile:pattern-matching #t)])))
|
||||
|
|
Loading…
Reference in New Issue
Block a user