kopia lustrzana https://github.com/backface/turtlestitch
make sure filtered linked lists end well formed
rodzic
380474945f
commit
959cccd2b8
|
@ -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()
|
||||
);
|
||||
|
|
Ładowanie…
Reference in New Issue