Simplify tc-expr testcase.
This commit is contained in:
parent
7c4012bbd4
commit
aa6a04fd46
|
@ -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))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user