fix the fold for Class types

original commit: 826eeab7cb2fb738da9b56a8dd02010dc5174e53
This commit is contained in:
Sam Tobin-Hochstadt 2010-04-27 11:39:15 -04:00
commit 95dfc50d12

View File

@ -316,13 +316,14 @@
[#:fold-rhs (match (list pos-flds name-flds methods)
[(list
pos-tys
(list (list init-names init-tys) ___)
(list (list init-names init-tys reqd) ___)
(list (list mname mty) ___))
(*Class
(map type-rec-id pos-tys)
(map list
init-names
(map type-rec-id init-tys))
(map type-rec-id init-tys)
reqd)
(map list mname (map type-rec-id mty)))])])
;; cls : Class