Skip to content

Commit

Permalink
Ensure macro changes invalidate downstream classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ephemerist authored Nov 14, 2024
1 parent ced4262 commit ae3b5c5
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ae3b5c5

Please sign in to comment.