mirror of https://github.com/sbt/sbt.git
Cleaning
This commit is contained in:
parent
4e74fe360f
commit
055ff77e5b
|
|
@ -146,6 +146,9 @@ lazy val core = crossProject
|
|||
import com.typesafe.tools.mima.core.ProblemFilters._
|
||||
|
||||
Seq(
|
||||
// Since 1.0.0-M11
|
||||
// method made final (for - non critical - tail recursion)
|
||||
ProblemFilters.exclude[FinalMethodProblem]("coursier.core.ResolutionProcess.next"),
|
||||
// Since 1.0.0-M10
|
||||
ProblemFilters.exclude[IncompatibleResultTypeProblem]("coursier.core.Resolution.withParentConfigurations"),
|
||||
// New singleton object, problem for forward compatibility only
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@ sealed abstract class ResolutionProcess {
|
|||
}
|
||||
}
|
||||
|
||||
def next[F[_]](
|
||||
@tailrec
|
||||
final def next[F[_]](
|
||||
fetch: Fetch.Metadata[F]
|
||||
)(implicit
|
||||
F: Monad[F]
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ object Parse {
|
|||
case Right(modVer) => values += modVer
|
||||
}
|
||||
|
||||
(errors.toSeq, values.toSeq)
|
||||
(errors, values)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -77,7 +77,7 @@ object Parse {
|
|||
.map((_, version))
|
||||
|
||||
case _ =>
|
||||
Left(s"Malformed coordinates: $s")
|
||||
Left(s"Malformed dependency: $s")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -107,7 +107,7 @@ object Parse {
|
|||
.map((_, version, None))
|
||||
|
||||
case _ =>
|
||||
Left(s"Malformed coordinates: $s")
|
||||
Left(s"Malformed dependency: $s")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue