Fix a TR internal error
original commit: 1468575c3db1c2e6faf31249f6540d7d147f7e58
This commit is contained in:
parent
91df513937
commit
6a0fe073b1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user