From ae3b5c54e7d6d3618edf3b0f2ca4488a44f68368 Mon Sep 17 00:00:00 2001 From: Andrew Brett Date: Thu, 14 Nov 2024 14:27:54 +0400 Subject: [PATCH] Ensure macro changes invalidate downstream classes --- .../internal/inc/consistent/ConsistentAnalysisFormat.scala | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/internal/zinc-persist/src/main/scala/sbt/internal/inc/consistent/ConsistentAnalysisFormat.scala b/internal/zinc-persist/src/main/scala/sbt/internal/inc/consistent/ConsistentAnalysisFormat.scala index 78aea1106..bbb8248fa 100644 --- a/internal/zinc-persist/src/main/scala/sbt/internal/inc/consistent/ConsistentAnalysisFormat.scala +++ b/internal/zinc-persist/src/main/scala/sbt/internal/inc/consistent/ConsistentAnalysisFormat.scala @@ -200,11 +200,7 @@ class ConsistentAnalysisFormat(val mappers: ReadWriteMappers, sort: Boolean) { private[this] def writeAPIs(out: Serializer, apis: APIs, storeApis: Boolean): Unit = { def write(n: String, m: Map[String, AnalyzedClass]): Unit = - writeMaybeSortedStringMap( - out, - n, - m.mapValues(_.withCompilationTimestamp(DefaultCompilationTimestamp)) - ) { ac => + writeMaybeSortedStringMap(out, n, m) { ac => writeAnalyzedClass(out, ac, storeApis) } write("internal", apis.internal)