return a better type

svn: r15736

original commit: 83e0ec2b407fc06092757cdec0ec898c415b3818
This commit is contained in:
Sam Tobin-Hochstadt 2009-08-14 19:44:46 +00:00
parent 51eff5eeb3
commit 1d9468f30a

View File

@ -206,7 +206,7 @@
(let ([ty (cond [(type-ascription form) => (lambda (ann)
(let ([r (tc-expr/check/internal form ann)])
(check-below r expected)
expected))]
#;expected))]
[else (tc-expr/check/internal form expected)])])
(match ty
[(tc-results: ts fs os)