Fix inference for simple fns with ...

svn: r11977
This commit is contained in:
Sam Tobin-Hochstadt 2008-10-08 15:34:05 +00:00
parent fc974109b2
commit 3db02a50e1

View File

@ -451,7 +451,7 @@
[(tc-result: (and t
(or (Poly: vars
(Function: (list (arr: doms rngs (and rests #f) (and drests #f) '() thn-effs els-effs) ...)))
(PolyDots: (list vars ... _)
(PolyDots: (list vars ...)
(Function: (list (arr: doms rngs (and rests #f) (and drests #f) '() thn-effs els-effs) ...))))))
(handle-clauses (doms rngs) f-stx
(lambda (dom _) (= (length dom) (length argtypes)))