1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-23 21:10:29 +02:00

fix peval test for recent merge

* test-suite/tests/peval.test: Fix test for master.
This commit is contained in:
Andy Wingo 2012-04-30 20:26:09 +02:00
parent 9d8a10a94c
commit 4105f688e3

View file

@ -1005,11 +1005,11 @@
;; residualizing a reference to the leaf identifier. The bailout is
;; driven by the recursive-effort-limit, which is currently 100. We
;; make sure to trip it with this recursive sum thing.
(pass-if-peval resolve-primitives
(pass-if-peval
(let ((x (let sum ((n 0) (out 0))
(if (< n 10000)
(sum (1+ n) (+ out n))
out))))
((lambda (y) (list y)) x))
(let (x) (_) (_)
(apply (primitive list) (lexical x _)))))
(primcall list (lexical x _)))))