Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Dec 16, 2024
1 parent 5d9691c commit 71d7e08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion main/eval/src/mill/eval/Evaluator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}

Expand Down
4 changes: 1 addition & 3 deletions main/eval/src/mill/eval/EvaluatorCore.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)) }
)
}

Expand Down Expand Up @@ -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
}

0 comments on commit 71d7e08

Please sign in to comment.