From 71d7e08ee4571af741104efb9714ea175c379b93 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Mon, 16 Dec 2024 17:33:39 +0800 Subject: [PATCH] . --- main/eval/src/mill/eval/Evaluator.scala | 1 - main/eval/src/mill/eval/EvaluatorCore.scala | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/main/eval/src/mill/eval/Evaluator.scala b/main/eval/src/mill/eval/Evaluator.scala index d349fa6b67b..22fcbfbdafe 100644 --- a/main/eval/src/mill/eval/Evaluator.scala +++ b/main/eval/src/mill/eval/Evaluator.scala @@ -79,7 +79,6 @@ object Evaluator { def transitive: Agg[Task[_]] def failing: MultiBiMap[Terminal, Result.Failing[Val]] def results: collection.Map[Task[_], TaskResult[Val]] - def terminals: Map[Task[_], Terminal] = Map() def values: Seq[Val] = rawValues.collect { case Result.Success(v) => v } } diff --git a/main/eval/src/mill/eval/EvaluatorCore.scala b/main/eval/src/mill/eval/EvaluatorCore.scala index 021e5c3bed2..3ab6a414822 100644 --- a/main/eval/src/mill/eval/EvaluatorCore.scala +++ b/main/eval/src/mill/eval/EvaluatorCore.scala @@ -308,8 +308,7 @@ private[mill] trait EvaluatorCore extends GroupEvaluator { ), transitive, getFailing(sortedGroups, results), - results.map { case (k, v) => (k, v.map(_._1)) }, - terminals0.map(t => (t.task, t)).toMap + results.map { case (k, v) => (k, v.map(_._1)) } ) } @@ -337,6 +336,5 @@ private[mill] object EvaluatorCore { transitive: Agg[Task[_]], failing: MultiBiMap[Terminal, Result.Failing[Val]], results: Map[Task[_], TaskResult[Val]], - override val terminals: Map[Task[_], Terminal] ) extends Evaluator.Results }