Fixed violation of the invariant introduced in r16504.
svn: r17371
This commit is contained in:
parent
f332afc3dd
commit
16fd573e7b
|
@ -628,6 +628,7 @@
|
||||||
(test-ellipsis-binding '((number_1 number_2) ...) '((1 2)))
|
(test-ellipsis-binding '((number_1 number_2) ...) '((1 2)))
|
||||||
(test-ellipsis-binding '((name x number_1) ...) '(1 2))
|
(test-ellipsis-binding '((name x number_1) ...) '(1 2))
|
||||||
(test-ellipsis-binding '(((number_1 ...) (number_2 ...)) ...) '(((1) (2))))
|
(test-ellipsis-binding '(((number_1 ...) (number_2 ...)) ...) '(((1) (2))))
|
||||||
|
(test-ellipsis-binding '(number ... variable) '(1 x))
|
||||||
|
|
||||||
(cond
|
(cond
|
||||||
[(= failures 0)
|
[(= failures 0)
|
||||||
|
|
|
@ -1478,9 +1478,8 @@ before the pattern compiler is invoked.
|
||||||
[else (let ([r-exp (car r-exps)])
|
[else (let ([r-exp (car r-exps)])
|
||||||
(cond
|
(cond
|
||||||
[(repeat? r-exp)
|
[(repeat? r-exp)
|
||||||
(i-loop
|
(append (repeat-empty-bindings r-exp)
|
||||||
(cdr r-exps)
|
(i-loop (cdr r-exps) ribs))]
|
||||||
(append (repeat-empty-bindings r-exp) ribs))]
|
|
||||||
[else
|
[else
|
||||||
(loop (car r-exps) (i-loop (cdr r-exps) ribs))]))])))]
|
(loop (car r-exps) (i-loop (cdr r-exps) ribs))]))])))]
|
||||||
[else ribs])))
|
[else ribs])))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user