From a996c7392b13830a6cb5d01db00ccdd1dc61f8be Mon Sep 17 00:00:00 2001 From: friendseeker <66892505+Friendseeker@users.noreply.github.com> Date: Sun, 29 Sep 2024 20:10:08 -0700 Subject: [PATCH] Add log for third class invalidation --- .../src/main/scala/sbt/internal/inc/IncrementalCommon.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/zinc-core/src/main/scala/sbt/internal/inc/IncrementalCommon.scala b/internal/zinc-core/src/main/scala/sbt/internal/inc/IncrementalCommon.scala index 4bdef942d..dfe6a869f 100644 --- a/internal/zinc-core/src/main/scala/sbt/internal/inc/IncrementalCommon.scala +++ b/internal/zinc-core/src/main/scala/sbt/internal/inc/IncrementalCommon.scala @@ -492,6 +492,7 @@ private[inc] abstract class IncrementalCommon( val transitive = IncrementalCommon.transitiveDeps(recompiledClasses, log)(dependsOnClass) (transitive -- recompiledClasses).filter(analysis.apis.internalAPI(_).hasMacro) } + log.debug(s"Invalidated macros due to upstream dependencies change: ${thirdClassInvalidation}") val newInvalidations = (firstClassInvalidation -- recompiledClasses) ++ secondClassInvalidation ++ thirdClassInvalidation