summaryrefslogtreecommitdiff
path: root/doc/ref/api-data.texi
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2022-12-01 12:56:51 +0100
committerAndy Wingo <wingo@pobox.com>2022-12-01 12:56:51 +0100
commitd184d093466a536281dfc2bcb9eb727f6facdeb4 (patch)
tree1cad4f9592870a020289771b5fb60cd5f12a2301 /doc/ref/api-data.texi
parentc7fa78fc751eb336bcfafbb5ac59c460ee2c5d7a (diff)
downloadguile-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