summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-05-02 07:04:50 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-05-02 07:04:50 -0700
commit13b84a88aa48ddaad32a602045841013230fb671 (patch)
treee2b1eafd0dde1639045dd7db8b8066ce32552e5f /txr.1
parent68c08aeeff7cedfaa7b1a92f7f20270128e830c5 (diff)
downloadtxr-13b84a88aa48ddaad32a602045841013230fb671.tar.gz
txr-13b84a88aa48ddaad32a602045841013230fb671.tar.bz2
txr-13b84a88aa48ddaad32a602045841013230fb671.zip
bugfix: apply regression.
Refactorings to apply released TXR 192 broke it, causing apply to fail to treat non-list sequences as individual arguments, as documented. This affects dotted application as well. ;; wrong (list . "abc") -> "abc" ;; correct (list . "abc") -> (#\a #\b #\c) With some misgivings, I'm not making the behavior subject to the -C compat option. * eval.c (applyv): Two things are wrong here: we moved the last fixed argument into args->list without turning it into a one-element list. Secondly, we didn't pass this list through apply_intrinsic_frob_args. We can combine both actions into just calling tolist, which is what apply_intrinsic_frob_args will do with the car of a one-element list.
Diffstat (limited to 'txr.1')
0 files changed, 0 insertions, 0 deletions