This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git
The following commit(s) were added to refs/heads/main by this push:
new 3e1231c320 Fix Xlint options
3e1231c320 is described below
commit 3e1231c3206afb3bae720b706497340dcc34cbb7
Author: Matthew de Detrich <[email protected]>
AuthorDate: Wed Mar 22 10:18:52 2023 +0100
Fix Xlint options
---
project/PekkoDisciplinePlugin.scala | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/project/PekkoDisciplinePlugin.scala
b/project/PekkoDisciplinePlugin.scala
index 38cd14b0aa..698207243a 100644
--- a/project/PekkoDisciplinePlugin.scala
+++ b/project/PekkoDisciplinePlugin.scala
@@ -129,7 +129,8 @@ object PekkoDisciplinePlugin extends AutoPlugin {
"-Ywarn-nullary-override",
"-Ywarn-nullary-unit",
"-Ypartial-unification",
- "-Yno-adapted-args")
+ "-Yno-adapted-args") ++ Set(
+ "-Xlint:-strict-unsealed-patmat")
case Some((2, 12)) =>
disciplineScalacOptions
case _ =>
@@ -164,6 +165,7 @@ object PekkoDisciplinePlugin extends AutoPlugin {
"-Ywarn-numeric-widen",
"-Yno-adapted-args",
"-deprecation",
+ "-Xlint",
"-Xlint:-infer-any",
"-Ywarn-dead-code",
"-Ywarn-inaccessible",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]