Skip to content

Commit

Permalink
Update scala3 to 3.6.2
Browse files Browse the repository at this point in the history
Also change usage of context bound to implicit parameter, because
otherwise mocking failed - probably the context bound macro was changed
somehow.
  • Loading branch information
magro committed Dec 31, 2024
1 parent 9c29b75 commit 881bf69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ scmInfo := Some(ScmInfo(url("https://github.com/inoio/solrs"), "[email protected]:i

licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))

scalaVersion := "3.4.3"
scalaVersion := "3.6.2"

// Remember: also update scala versions in .travis.yml!
crossScalaVersions := Seq("2.12.20", "2.13.15", "3.4.3")
crossScalaVersions := Seq("2.12.20", "2.13.15", "3.6.2")

scalacOptions ++= Seq(
"-unchecked",
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/io/ino/solrs/AsyncSolrClient.scala
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ class AsyncSolrClient[F[_]] protected (private[solrs] val loadBalancer: LoadBala
).getOrElse(monitoredRequest(solrServer, r))
}

private[solrs] def doExecute[T <: SolrResponse : SolrResponseFactory](solrServer: SolrServer, r: SolrRequest[_ <: T]): Future[T] = {
private[solrs] def doExecute[T <: SolrResponse](solrServer: SolrServer, r: SolrRequest[_ <: T])(implicit srf: SolrResponseFactory[T]): Future[T] = {

val wparams = new ModifiableSolrParams(r.getParams)
if (responseParser != null && r.getResponseParser == null) {
Expand Down

0 comments on commit 881bf69

Please sign in to comment.