return a better type

svn: r15736
This commit is contained in:
Sam Tobin-Hochstadt 2009-08-14 19:44:46 +00:00
parent 824a461335
commit 83e0ec2b40

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)