diff --git a/grafast/grafast/src/engine/StepTracker.ts b/grafast/grafast/src/engine/StepTracker.ts index 6f48094e96..ec3355a631 100644 --- a/grafast/grafast/src/engine/StepTracker.ts +++ b/grafast/grafast/src/engine/StepTracker.ts @@ -271,16 +271,6 @@ export class StepTracker { ): number { const $dependent = sudo(raw$dependent); const $dependency = sudo(options.step); - /* TODO: move this logic to OperationPlan to happen after optimize phase. - - if ($dependency instanceof __FlagStep) { - // See if we can inline this - const inlineDetails = $dependency.inline(options); - if (inlineDetails !== null) { - return this.addStepDependency($dependent, inlineDetails); - } - } - */ if (!this.activeSteps.has($dependent)) { throw new Error( `Cannot add ${$dependency} as a dependency of ${$dependent}; the latter is deleted!`,