This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-projection.git
The following commit(s) were added to refs/heads/main by this push:
new 4c931f1 remove scala 2.12 compile flags (#367)
4c931f1 is described below
commit 4c931f17b7cd90cc61a9a5b4826d4ca33738aa3d
Author: PJ Fanning <[email protected]>
AuthorDate: Wed Dec 17 08:28:54 2025 +0100
remove scala 2.12 compile flags (#367)
---
project/PekkoDisciplinePlugin.scala | 19 +------------------
1 file changed, 1 insertion(+), 18 deletions(-)
diff --git a/project/PekkoDisciplinePlugin.scala
b/project/PekkoDisciplinePlugin.scala
index 4565f68..2cdb055 100644
--- a/project/PekkoDisciplinePlugin.scala
+++ b/project/PekkoDisciplinePlugin.scala
@@ -39,17 +39,8 @@ object PekkoDisciplinePlugin extends AutoPlugin {
Test / scalacOptions --= testUndicipline,
Compile / scalacOptions ++=
(CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 13)) =>
- disciplineScalacOptions -- Set(
- "-Ywarn-inaccessible",
- "-Ywarn-infer-any",
- "-Ywarn-nullary-override",
- "-Ywarn-nullary-unit",
- "-Ywarn-unused:_",
- "-Ypartial-unification",
- "-Yno-adapted-args") ++ Set(
+ disciplineScalacOptions ++ Set(
"-Xlint:-strict-unsealed-patmat")
- case Some((2, 12)) =>
- disciplineScalacOptions
case _ =>
Nil
}).toSeq,
@@ -76,16 +67,8 @@ object PekkoDisciplinePlugin extends AutoPlugin {
val disciplineScalacOptions = Set(
"-Xfatal-warnings",
"-feature",
- "-Yno-adapted-args",
"-deprecation",
"-Xlint",
"-Ywarn-dead-code",
- "-Ywarn-inaccessible",
- "-Ywarn-infer-any",
- "-Ywarn-nullary-override",
- "-Ywarn-nullary-unit",
- "-Ywarn-unused:_",
- "-Ypartial-unification",
"-Ywarn-extra-implicit")
-
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]