diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-10-05 02:06:19 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-10-05 02:06:19 -0700 |
commit | ff6ba48351de477052fc404b571d5817f7cdc63c (patch) | |
tree | caed7614ca72471ca561f2e2efe5e2697aa5850d /tests/010 | |
parent | 5c50205c0f025bae07e813f8374649759b2e825a (diff) | |
download | txr-ff6ba48351de477052fc404b571d5817f7cdc63c.tar.gz txr-ff6ba48351de477052fc404b571d5817f7cdc63c.tar.bz2 txr-ff6ba48351de477052fc404b571d5817f7cdc63c.zip |
defstruct: consolidate finalizers into one lambda.
* stdlib/struct.tl (defstruct): Don't generate a separate finalizer
registration for each :fini or :postfini; roll them into a single
lambda in the correct order. Their object argument turns into a
let block around each piece of code to bind that argument, like
had been done for :init and :postinit.
Diffstat (limited to 'tests/010')
0 files changed, 0 insertions, 0 deletions