Fix a TR internal error

This commit is contained in:
Asumu Takikawa 2013-08-01 16:37:58 -04:00
parent e0f3876e8c
commit 1468575c3d

View File

@ -107,7 +107,7 @@
(if tail-bound (cons tail-ty tail-bound) #f)))
(cond
[(null? doms)
(int-err "How could doms be null: ~a ~a" ty)]
(int-err "How could doms be null: ~a" ty)]
[(and (= 1 (length doms)) (not (car rests)) (not (car drests)) (not tail-ty) (not tail-bound))
(tc-error/expr
#:return return