From f188cc5e6d72cba527da417168f54041f8c119b9 Mon Sep 17 00:00:00 2001 From: Jan Chyb Date: Thu, 23 May 2024 17:52:58 +0200 Subject: [PATCH] Fix issue with disappearing errors --- .../scala/bloop/engine/tasks/compilation/CompileGraph.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/main/scala/bloop/engine/tasks/compilation/CompileGraph.scala b/frontend/src/main/scala/bloop/engine/tasks/compilation/CompileGraph.scala index 2b19a06b4..a7d0a94fb 100644 --- a/frontend/src/main/scala/bloop/engine/tasks/compilation/CompileGraph.scala +++ b/frontend/src/main/scala/bloop/engine/tasks/compilation/CompileGraph.scala @@ -183,7 +183,7 @@ object CompileGraph { case a: ReporterAction.ProcessEndCompilation => a.code match { case BspStatusCode.Cancelled | BspStatusCode.Error => - reporter.processEndCompilation(previousSuccessfulProblems, a.code, None, None) + reporter.processEndCompilation(previousProblems, a.code, None, None) reporter.reportEndCompilation() case _ => /* @@ -193,7 +193,7 @@ object CompileGraph { * can use `taskFinish` notifications as a signal to process them. */ reporter.processEndCompilation( - previousSuccessfulProblems, + previousProblems, a.code, Some(clientClassesObserver.classesDir), Some(bundle.out.analysisOut)