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 = {
|
val x = {
|
||||||
import analysis.{ apis, relations => rel }
|
import analysis.{ apis, relations => rel }
|
||||||
rel.internalClassDeps(c).map(intlStamp(_, analysis, s + c)) ++
|
rel.internalClassDeps(c).map(intlStamp(_, analysis, s + c)) ++
|
||||||
rel.externalDeps(c).map(stamp) +
|
rel.externalDeps(c).map(stamp) ++
|
||||||
(apis.internal.get(c) match {
|
rel.productClassName.reverse(c).flatMap { pc =>
|
||||||
case Some(x) => x.compilationTimestamp
|
apis.internal.get(pc).map(_.compilationTimestamp)
|
||||||
case _ => Long.MinValue
|
} + Long.MinValue
|
||||||
})
|
|
||||||
}.max
|
}.max
|
||||||
if (x != Long.MinValue) {
|
if (x != Long.MinValue) {
|
||||||
stamps(c) = x
|
stamps(c) = x
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue