make sure filtered linked lists end well formed

pull/89/head
jmoenig 2019-04-27 10:04:41 +02:00
rodzic 380474945f
commit 959cccd2b8
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -2278,6 +2278,7 @@ Process.prototype.reportKeep = function (predicate, list) {
this.context.accumulator.source.cdr();
}
if (this.context.accumulator.remaining === 0) {
this.context.accumulator.end.rest = new List();
this.returnValueToParentContext(
this.context.accumulator.target.cdr()
);