diff options
author | Andy Wingo <wingo@pobox.com> | 2022-12-01 12:56:51 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2022-12-01 12:56:51 +0100 |
commit | d184d093466a536281dfc2bcb9eb727f6facdeb4 (patch) | |
tree | 1cad4f9592870a020289771b5fb60cd5f12a2301 /doc/ref/api-data.texi | |
parent | c7fa78fc751eb336bcfafbb5ac59c460ee2c5d7a (diff) | |
download | guile-d184d093466a536281dfc2bcb9eb727f6facdeb4.tar.gz |
Fix order-of-side-effects bug in (eq? x y z) expansion
* module/language/tree-il/primitives.scm (bind-lexicals): New helper.
(expand-eq, expand-chained-comparisons): Ensure all arguments are
eagerly evaluated. Previously an intermediate #f result would shortcut
the evaluation.
* test-suite/tests/compiler.test ("size effects in multi-arg eq / <"):
Add test.
Diffstat (limited to 'doc/ref/api-data.texi')
0 files changed, 0 insertions, 0 deletions