Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions core/src/main/scala/api/SerializationPack.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import scala.util.Try
import scala.reflect.ClassTag

import reactivemongo.core.protocol.Response

import reactivemongo.api.bson.{ BSONDocumentReader, BSONDocumentWriter }
import reactivemongo.api.bson.buffer.{ ReadableBuffer, WritableBuffer }

trait SerializationPack extends SerializationPackCompat { self: Singleton =>
type Value
type ElementProducer
type Document <: Value
type Writer[A]
type Reader[A]
type Writer[A] = BSONDocumentWriter[A]
type Reader[A] = BSONDocumentReader[A]
type NarrowValueReader[A]
private[reactivemongo] type WidenValueReader[A]

Expand Down
4 changes: 2 additions & 2 deletions project/Common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ object Common extends AutoPlugin {

val scala211 = "2.11.12"
val scala213 = "2.13.8"
val scala31 = "3.2.2" // CI uses 3.1.2-RC1-bin-20220113-8d28d94-NIGHTLY"
val scala31 = "3.3.0-RC1-bin-20221214-6383025-NIGHTLY" // CI uses 3.1.2-RC1-bin-20220113-8d28d94-NIGHTLY"

def majorVersion = {
val Major = """([0-9]+)\.([0-9]+)\..*""".r
Expand All @@ -53,7 +53,7 @@ object Common extends AutoPlugin {

override def projectSettings =
Defaults.coreDefaultSettings ++ baseSettings ++ Compiler.settings ++ Seq(
scalaVersion := "2.12.18",
scalaVersion := scala31,
crossScalaVersions := Seq(
scala211,
scalaVersion.value,
Expand Down
2 changes: 1 addition & 1 deletion project/Compiler.scala
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ object Compiler {
"-Wunused"
)
} else {
Seq("-Wunused:all", "-language:implicitConversions")
Seq("-Wunused:nowarn", "-language:implicitConversions")
}
},
Compile / console / scalacOptions ~= {
Expand Down