summaryrefslogtreecommitdiffstats
path: root/tests/011
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-01-27 07:01:55 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-01-27 07:01:55 -0800
commit277cf5d1eba80cd1b06bb37fb9935079d5bf457c (patch)
treef51987b8d1829ef33fd19f07be134cdf431634d9 /tests/011
parentd4acfa584a4e65150ca98cd5bac462999b49b166 (diff)
downloadtxr-277cf5d1eba80cd1b06bb37fb9935079d5bf457c.tar.gz
txr-277cf5d1eba80cd1b06bb37fb9935079d5bf457c.tar.bz2
txr-277cf5d1eba80cd1b06bb37fb9935079d5bf457c.zip
matcher: vars issue with loop and parallel paterns.
* share/txr/stdlib/match.tl (compile-loop-match): We must use the get-vars method of a compiled-match to get a list of its vars, and not directly access the vars slot. The list of vars must include all the non-temporary variables from the guard-chain. This is important in these rules because they specially treat the guard-chain and do not integrate it into their own guard chain directly.
Diffstat (limited to 'tests/011')
0 files changed, 0 insertions, 0 deletions