fix PR 10890

This commit is contained in:
Sam Tobin-Hochstadt 2010-05-03 15:14:17 -04:00
parent 34e64b650f
commit baca007fc0

View File

@ -154,7 +154,7 @@
[(struct s pats) [(struct s pats)
(parse-struct stx cert parse #'s #'pats)] (parse-struct stx cert parse #'s #'pats)]
[(s . pats) [(s . pats)
(struct-info? (syntax-local-value #'s (lambda () #f))) (and (identifier? #'s) (struct-info? (syntax-local-value #'s (lambda () #f))))
(parse-struct stx cert parse #'s #'pats)] (parse-struct stx cert parse #'s #'pats)]
[(? p q1 qs ...) [(? p q1 qs ...)
(make-And (cons (make-Pred (cert #'p)) (make-And (cons (make-Pred (cert #'p))