diff --git a/internal/zinc-core/src/main/scala/sbt/internal/inc/Incremental.scala b/internal/zinc-core/src/main/scala/sbt/internal/inc/Incremental.scala index 37e93decb..5db24c6db 100644 --- a/internal/zinc-core/src/main/scala/sbt/internal/inc/Incremental.scala +++ b/internal/zinc-core/src/main/scala/sbt/internal/inc/Incremental.scala @@ -886,7 +886,7 @@ private final class AnalysisCallback( val externalParentsAPI = externalParents.map(analysis.apis.externalAPI) val internalParentsAPI = internalParents.map(analysis.apis.internalAPI) val parentsHashes = (externalParentsAPI ++ internalParentsAPI).map(_.extraHash()) - parentsHashes.fold(currentExtraHash)(_ ^ _) + (parentsHashes + currentExtraHash).hashCode() case None => currentExtraHash } }