1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-24 12:20:20 +02:00
guile/module/language/tree-il
Ludovic Courtès 61237fa4b9 peval: Use the right scope when replacing a lambda by a lexical-ref.
* module/language/tree-il/optimize.scm (peval)[maybe-unlambda]: New
  procedures.
  Use it to de-duplicate named lambdas.  This fixes the scoping bug
  described at <https://lists.gnu.org/archive/html/bug-guile/2011-09/msg00019.html>.

* test-suite/tests/tree-il.test ("partial evaluation"): Add tests to
  reproduce the bug.
2011-09-13 18:25:09 +02:00
..
analyze.scm Use (ice-9 match) instead of `record-case' where it improves readability. 2011-09-06 00:18:36 +02:00
compile-glil.scm fix invalid transformation of (values x) -> x, (+ x) -> x, etc 2011-06-17 19:42:55 +02:00
fix-letrec.scm fix-letrec tweaks 2011-03-09 22:38:11 +01:00
inline.scm Add a partial evaluator for use in the compiler. 2011-09-09 00:05:34 +02:00
optimize.scm peval: Use the right scope when replacing a lambda by a lexical-ref. 2011-09-13 18:25:09 +02:00
primitives.scm Add a partial evaluator for use in the compiler. 2011-09-09 00:05:34 +02:00
spec.scm remove `version' field from <language> 2010-05-02 11:19:13 +02:00