diff --git a/scheme/ikarus.compiler.ss b/scheme/ikarus.compiler.ss index 5903a88..205fd15 100644 --- a/scheme/ikarus.compiler.ss +++ b/scheme/ikarus.compiler.ss @@ -1280,7 +1280,9 @@ [(constant) x] [(var) (let ([r (var-referenced x)]) - (if (constant? r) r x))] + (cond + [(boolean? r) x] + [else (Pred r)]))] [(primref) (make-constant #t)] [(bind lhs* rhs* body) (do-bind lhs* rhs* body Pred)] diff --git a/scheme/last-revision b/scheme/last-revision index c83b067..438db35 100644 --- a/scheme/last-revision +++ b/scheme/last-revision @@ -1 +1 @@ -1289 +1291