We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f94023 commit fd1fea5Copy full SHA for fd1fea5
1 file changed
src/core/evaluator.js
@@ -3197,6 +3197,9 @@ class PartialEvaluator {
3197
break;
3198
}
3199
3200
+ // preprocessor.read() already handles save, restore and transform
3201
+ // operations, so we don't need to worry about them here.
3202
+
3203
textState = stateManager.state;
3204
currentTextState ||= textState.clone();
3205
const fn = operation.fn;
@@ -3570,12 +3573,6 @@ class PartialEvaluator {
3570
3573
});
3571
3574
3572
3575
- case OPS.restore:
- stateManager.restore();
- break;
3576
- case OPS.save:
3577
- stateManager.save();
3578
3579
} // switch
3580
if (textContent.items.length >= (sink?.desiredSize ?? 1)) {
3581
// Wait for ready, if we reach highWaterMark.
0 commit comments