Test for errors in rhs.

original commit: 365d2726660ab9342f229789f268e2461cdd2063
This commit is contained in:
Vincent St-Amour 2010-12-08 20:09:31 -05:00
parent f4a1a31f61
commit a650c59fb3

View File

@ -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