Fix parsing of All on RHS of ->

This commit is contained in:
Sam Tobin-Hochstadt 2010-05-24 13:26:29 -07:00
parent fac0e197cf
commit f320d36e9c
2 changed files with 2 additions and 2 deletions

View File

@ -106,6 +106,8 @@
(-polydots (a) ((list) [a a] . ->... . N))]
[(Any -> Boolean : Number) (make-pred-ty -Number)]
[(Integer -> (All (X) (X -> X)))
(t:-> -Integer (-poly (x) (t:-> x x)))]
))

View File

@ -365,8 +365,6 @@
[((~and kw values) tys ...)
(add-type-name-reference #'kw)
(-values (map parse-type (syntax->list #'(tys ...))))]
[(t:All . rest)
(parse-all-type stx parse-values-type)]
[t
(-values (list (parse-type #'t)))])))