Skip to content

Commit 0eab2d5

Browse files
committed
improve the fixing so that it no longer generates the bogus input seen in racket/racket#4531
closes racket/racket#4531
1 parent 4aada93 commit 0eab2d5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

redex-examples/redex/examples/delim-cont/randomized-tests.rkt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@
9191
(compose drop-duplicate-binders
9292
proper-wcms
9393
proper-conts
94+
proper-wcms
9495
consistent-dws
96+
proper-wcms
9597
(curry close top-vars '())))
9698
; Must call proper-wcm after proper-conts because the latter
9799
; exposes opportunities to the former.
@@ -118,6 +120,9 @@
118120
; It might work to make proper-conts work in more contexts,
119121
; but it's easier to iterate the rules to a fixed point (and
120122
; there may be more dependencies that require iteration anyway).
123+
;
124+
; Also, close and consistent-dws can both also introduce incorrect
125+
; wcms, so call proper-wcms after calling each of them as well.
121126
(λ (e)
122127
(let loop ([e e])
123128
(define e’ (rewrite e))

0 commit comments

Comments
 (0)