Add test cases for fixed PRs.
Closes PR 13191. Closes PR 13290.
This commit is contained in:
parent
917fa3aeb7
commit
41ea8f3358
|
@ -81,6 +81,7 @@
|
|||
|
||||
(t (-mu x (-Syntax x)))
|
||||
(t (-> (-> Univ -Bottom : -bot-filter) -Bottom : -bot-filter))
|
||||
(t (-poly (A B) (-> A B (Un A B))))
|
||||
|
||||
|
||||
(t/fail ((-poly (a) (-vec a)) . -> . -Symbol)
|
||||
|
|
|
@ -2667,6 +2667,18 @@
|
|||
(number? x))
|
||||
-Boolean]
|
||||
|
||||
[tc-e/t
|
||||
(let ()
|
||||
(: f (Number -> Number))
|
||||
(define (f x)
|
||||
(cond
|
||||
((zero? x) x)
|
||||
(else (add1 (f (sub1 x))))))
|
||||
|
||||
(define y (f 7))
|
||||
4)
|
||||
-PosByte]
|
||||
|
||||
)
|
||||
(test-suite
|
||||
"tc-literal tests"
|
||||
|
|
Loading…
Reference in New Issue
Block a user