mirror of https://github.com/sbt/sbt.git
Fix testQuick on changed function in object
Fix https://github.com/sbt/sbt/issues/5504
This commit is contained in:
parent
11a7ab3ef7
commit
cc44169fe0
|
|
@ -1393,11 +1393,10 @@ object Defaults extends BuildCommon {
|
|||
val x = {
|
||||
import analysis.{ apis, relations => rel }
|
||||
rel.internalClassDeps(c).map(intlStamp(_, analysis, s + c)) ++
|
||||
rel.externalDeps(c).map(stamp) +
|
||||
(apis.internal.get(c) match {
|
||||
case Some(x) => x.compilationTimestamp
|
||||
case _ => Long.MinValue
|
||||
})
|
||||
rel.externalDeps(c).map(stamp) ++
|
||||
rel.productClassName.reverse(c).flatMap { pc =>
|
||||
apis.internal.get(pc).map(_.compilationTimestamp)
|
||||
} + Long.MinValue
|
||||
}.max
|
||||
if (x != Long.MinValue) {
|
||||
stamps(c) = x
|
||||
|
|
|
|||
Loading…
Reference in New Issue