diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-07-07 06:37:58 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-07-07 06:37:58 -0700 |
commit | 7375b5a42a77eeb3ac3f085b3d026adbb93ad5a9 (patch) | |
tree | 399d56dfe53a8ac4c9e89f6c75c6e447d2dacddd /y.tab.c.shipped | |
parent | 381ed03066f89602011d82892fe59d4dfff07e00 (diff) | |
download | txr-7375b5a42a77eeb3ac3f085b3d026adbb93ad5a9.tar.gz txr-7375b5a42a77eeb3ac3f085b3d026adbb93ad5a9.tar.bz2 txr-7375b5a42a77eeb3ac3f085b3d026adbb93ad5a9.zip |
with-resources: undocumented nil skip behavior.
Paul A. Patience discovered the hidden "feature" of
with-resourcers, that the three-argument form of the binding
(var init cleanup) causes the with-resources form to terminate
if init returns nil. The (var init) syntax doesn't generate
this logic.
* stdlib/with-resources.tl (with-resources): Do not emit the
when form unless <= 265 compatibility is in effect.
* tests/012/oop-mac.tl: New file.
* txr.1: Compat note added.
Diffstat (limited to 'y.tab.c.shipped')
0 files changed, 0 insertions, 0 deletions