Remove eta expansion, match is now fixed.
svn: r13622
This commit is contained in:
parent
1943083cf9
commit
72e118d92f
|
@ -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))])
|
||||
|
|
Loading…
Reference in New Issue
Block a user