Remove eta expansion, match is now fixed.

svn: r13622
This commit is contained in:
Sam Tobin-Hochstadt 2009-02-15 21:59:55 +00:00
parent 1943083cf9
commit 72e118d92f

View File

@ -764,7 +764,7 @@ before the pattern compiler is invoked.
#f
filtered)))))
has-hole?))]
[(? (lambda (x) (list? x))) ;; this eta expansion is to defeat a bug in match
[(? list?)
(let-values ([(rewritten has-hole?) (rewrite-ellipses non-underscore-binder? pattern compile-pattern/default-cache)])
(let ([count (and (not (ormap repeat? rewritten))
(length rewritten))])