Fixes bug 178858: convert-closures "free vars encountered in
program" error mistakenly happening
This commit is contained in:
parent
648991d793
commit
2a96ebf5b1
|
@ -1280,7 +1280,9 @@
|
||||||
[(constant) x]
|
[(constant) x]
|
||||||
[(var)
|
[(var)
|
||||||
(let ([r (var-referenced x)])
|
(let ([r (var-referenced x)])
|
||||||
(if (constant? r) r x))]
|
(cond
|
||||||
|
[(boolean? r) x]
|
||||||
|
[else (Pred r)]))]
|
||||||
[(primref) (make-constant #t)]
|
[(primref) (make-constant #t)]
|
||||||
[(bind lhs* rhs* body)
|
[(bind lhs* rhs* body)
|
||||||
(do-bind lhs* rhs* body Pred)]
|
(do-bind lhs* rhs* body Pred)]
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1289
|
1291
|
||||||
|
|
Loading…
Reference in New Issue