1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 13:00:26 +02:00
guile/module/language
Mark H Weaver 7a71a45cfd peval: Handle optional argument inits that refer to previous arguments.
Fixes <http://bugs.gnu.org/17634>.
Reported by Josep Portella Florit <jpf@primfilat.com>.

* module/language/tree-il/peval.scm (inlined-application): When inlining
  an application whose operator is a lambda expression with optional
  arguments that rely on default initializers, expand into a series of
  nested let expressions, to ensure that previous arguments are in scope
  when the default initializers are evaluated.

* test-suite/tests/peval.test ("partial evaluation"): Add tests.
2014-09-28 23:51:20 -04:00
..
assembly Add 'for-humans?' flag to <language> specifications. 2013-01-27 10:16:40 -05:00
brainfuck Fix brainfuck comment 2013-12-02 19:03:50 +01:00
bytecode Add 'for-humans?' flag to <language> specifications. 2013-01-27 10:16:40 -05:00
ecmascript ecmascript: Fix conversion to boolean for non-numbers. 2013-01-26 19:18:31 +01:00
elisp Placate a number of `syntax-check' verifications. 2012-01-05 23:38:10 +01:00
glil remove language/glil/decompile-assembly.scm 2013-02-24 15:50:09 +01:00
objcode Add 'for-humans?' flag to <language> specifications. 2013-01-27 10:16:40 -05:00
scheme Decompiler: fix handling of empty 'case-lambda' expressions. 2013-08-07 05:54:15 -04:00
tree-il peval: Handle optional argument inits that refer to previous arguments. 2014-09-28 23:51:20 -04:00
value Add 'for-humans?' flag to <language> specifications. 2013-01-27 10:16:40 -05:00
assembly.scm silly "optimization" in (language assembly) 2011-05-05 11:43:12 +02:00
glil.scm prompt handlers are always inline 2010-02-19 15:30:34 +01:00
objcode.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
tree-il.scm allow case-lambda expressions with no clauses 2013-03-09 11:16:31 +01:00