Simplify tc-expr testcase.

original commit: aa6a04fd46a0402803b6b365ba9b081ae060cfc7
This commit is contained in:
Eric Dobson 2014-03-19 21:08:31 -07:00
parent 89b9d28280
commit 0b98038079

View File

@ -735,13 +735,7 @@
(boolean? x))
(if (boolean? x) 1 x)
4))
#:proc (get-let-name
x 0
(ret Univ
(-FS
-top
(-and (make-NotTypeFilter -Boolean null #'x) (make-TypeFilter (-val #f) null #'x)))))]
#:ret (ret Univ -true-filter)]
;; T-AbsPred
[tc-e/t (let ([p? (lambda: ([x : Any]) (number? x))])
(lambda: ([x : Any]) (if (p? x) (add1 x) (add1 12))))