Most typecheck tests now pass.

Add two new success tests.

svn: r9577
This commit is contained in:
Sam Tobin-Hochstadt 2008-05-01 22:53:10 +00:00
parent f410bcf3a2
commit 567e438f1d
3 changed files with 501 additions and 496 deletions

View File

@ -0,0 +1,6 @@
#lang typed-scheme
(: f ((U String Number) -> Void))
(define (f x) (void))
(map f (list 1 2 3))

View File

@ -0,0 +1,4 @@
#lang typed-scheme
(map add1 #{(list 1 2 3) :: (Listof Integer)})
(map add1 #{(list 1 2 3) :: (Listof Number)})

File diff suppressed because it is too large Load Diff