From 1016b671819f880ef4411bba22902dc06efed0f7 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Thu, 15 Dec 2022 00:59:28 -0500 Subject: Fix finalization of collected matches --- virtual-programs/with-all.folk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'virtual-programs') diff --git a/virtual-programs/with-all.folk b/virtual-programs/with-all.folk index 8d3736fb..684a225f 100644 --- a/virtual-programs/with-all.folk +++ b/virtual-programs/with-all.folk @@ -19,7 +19,7 @@ When /someone/ wishes to collect matches for /clause/ { ::updateCollectedMatches $clause On unmatch [subst { - dict unset ::collectedMatches {$clause} {$__env} + dict unset ::collectedMatches {$clause} {$match} ::updateCollectedMatches {$clause} }] } -- cgit v1.2.3