summaryrefslogtreecommitdiffstats
path: root/strudel.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-07-03 12:02:30 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-07-03 12:02:30 -0700
commitdb1bf07b053a057b25cd4be683d6e2b017f9856f (patch)
tree61c881681bcd079ba07946b29d136e5cc530c06b /strudel.c
parent166a76bc0a18f9b5294953264f98e887ce153320 (diff)
downloadtxr-db1bf07b053a057b25cd4be683d6e2b017f9856f.tar.gz
txr-db1bf07b053a057b25cd4be683d6e2b017f9856f.tar.bz2
txr-db1bf07b053a057b25cd4be683d6e2b017f9856f.zip
compiler: inline lambda: broken : args to optionals.
The compiler test case fails on cases which pass a : value to an optional argument, which is supposed to trigger defaulting. * stdlib/compiler.tl (lambda-apply-transform): When processing an optional argument, if the argument is other than a constant expression evaluating to the : symbol, add an entry into a new check-opts list. This is later traversed to add code before the lambda body to check the optional parmeters for : values and do the init-form processing. The test cases pass with this, but it needs to be done in the case when optional values come from the apply list also; this is not being tested.
Diffstat (limited to 'strudel.c')
0 files changed, 0 insertions, 0 deletions