Skip to content

Commit c7b5351

Browse files
committed
Fix pipelining tests
1 parent cd9dddf commit c7b5351

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

compiler/src/dotty/tools/dotc/transform/Inlining.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ class Inlining extends MacroTransform, IdentityDenotTransformer {
5252
if unit.needsInlining || unit.hasMacroAnnotations then
5353
super.run
5454
rec.sendToZinc()
55-
ctx.run.nn.asyncTasty.foreach(_.signalDepsExtractionComplete())
5655

5756
if ctx.settings.YdumpSbtInc.value then
5857
val deps = rec.foundDeps.iterator.map { case (clazz, found) => s"$clazz: ${found.classesString}" }.toArray[Object]

compiler/src/dotty/tools/dotc/transform/Pickler.scala

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,10 @@ object Pickler {
7474
private val asyncAPIComplete =
7575
if incCallback == null then Promise.successful(Signal.Done) // no need to wait for API completion
7676
else Promise[Signal]()
77-
private val asyncDepsExtractionComplete =
78-
if incCallback == null then Promise.successful(Signal.Done)
79-
else Promise[Signal]()
8077

8178
private val backendFuture: StdFuture[Option[BufferingReporter]] =
8279
val asyncState = asyncTastyWritten.future
8380
.zipWith(asyncAPIComplete.future)((state, api) => state.filterNot(_ => api == Signal.Cancelled))
84-
.zipWith(asyncDepsExtractionComplete.future)((state, deps) => state.filterNot(_ => deps == Signal.Cancelled))
8581
asyncState.map: optState =>
8682
optState.flatMap: state =>
8783
if incCallback != null && state.done && !state.hasErrors then
@@ -96,10 +92,6 @@ object Pickler {
9692
if incCallback != null then
9793
asyncAPIComplete.trySuccess(Signal.Done)
9894

99-
def signalDepsExtractionComplete(): Unit =
100-
if incCallback != null then
101-
asyncDepsExtractionComplete.trySuccess(Signal.Done)
102-
10395
/** should only be called once */
10496
def signalAsyncTastyWritten()(using ctx: ReadOnlyContext): Unit =
10597
val done = !ctx.run.suspendedAtTyperPhase

0 commit comments

Comments
 (0)