Fix peval bug with inlining and optional argument initializers
authorAndy Wingo <wingo@pobox.com>
Thu, 10 Oct 2013 09:19:02 +0000 (11:19 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 10 Oct 2013 09:19:19 +0000 (11:19 +0200)
commit4a6d35197939e64720e4467b41cfe8ac0a917ec8
tree7a5b9f1374173fc8197898c0640b3f0eef480873
parent61c7264fccd44cf1cd3c7401b6c23dc7c26fa9d8
Fix peval bug with inlining and optional argument initializers

* module/language/tree-il/peval.scm (peval): Fix a bug whereby inlined
  function applications with default argument initializers were putting
  the initializers in the wrong scope.

* test-suite/tests/peval.test ("partial evaluation"): Add a test.
module/language/tree-il/peval.scm
test-suite/tests/peval.test