Skip to content

Commit

Permalink
TO-DONE
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Apr 29, 2024
1 parent ea7a85d commit 5690546
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions grafast/grafast/src/engine/StepTracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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!`,
Expand Down

0 comments on commit 5690546

Please sign in to comment.