Test for errors in rhs.
original commit: 365d2726660ab9342f229789f268e2461cdd2063
This commit is contained in:
parent
f4a1a31f61
commit
a650c59fb3
|
@ -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