summaryrefslogtreecommitdiffstats
path: root/tests/012
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-10-05 02:06:19 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-10-05 02:06:19 -0700
commitff6ba48351de477052fc404b571d5817f7cdc63c (patch)
treecaed7614ca72471ca561f2e2efe5e2697aa5850d /tests/012
parent5c50205c0f025bae07e813f8374649759b2e825a (diff)
downloadtxr-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/012')
0 files changed, 0 insertions, 0 deletions