Test for errors in rhs.
This commit is contained in:
parent
81ef5f9418
commit
365d272666
|
@ -1,7 +1,9 @@
|
|||
#;
|
||||
(exn-pred 1)
|
||||
(exn-pred 2)
|
||||
#lang typed/racket
|
||||
|
||||
;; make sure letrec takes into account that some bidings may be undefined
|
||||
|
||||
(+ (letrec: ([x : Float x]) x) 1) ; PR 11511
|
||||
|
||||
(letrec: ([x : Float (+ x 1)]) 0) ; error in rhs
|
||||
|
|
Loading…
Reference in New Issue
Block a user