Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | with-resources: undocumented nil skip behavior. | Kaz Kylheku | 2021-07-07 | 1 | -0/+18 |
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. |