Repair grievous error wrt immutable updates being discarded
This commit is contained in:
parent
475355ad3d
commit
3adb057e13
|
@ -181,9 +181,9 @@ Index.prototype.removeHandler = function(analysisResults, callback) {
|
||||||
constValMap = constValMap.remove(constVals);
|
constValMap = constValMap.remove(constVals);
|
||||||
}
|
}
|
||||||
if (constValMap.isEmpty()) {
|
if (constValMap.isEmpty()) {
|
||||||
continuation.leafMap.remove(constPaths);
|
continuation.leafMap = continuation.leafMap.remove(constPaths);
|
||||||
} else {
|
} else {
|
||||||
continuation.leafMap.set(constPaths, constValMap);
|
continuation.leafMap = continuation.leafMap.set(constPaths, constValMap);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue