Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 82d8524

Browse files
upgrade to Scala 3.3.0 and enable unused warnings (#516)
1 parent 4d264b5 commit 82d8524

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎build.sbt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ ThisBuild / startYear := Some(2004)
33

44
val commonSettings = Seq(
55
versionScheme := Some("early-semver"),
6-
versionPolicyIntention := Compatibility.BinaryAndSourceCompatible,
7-
crossScalaVersions := Seq("2.13.10", "2.12.17", "3.2.2"),
6+
// change back to BinaryAndSourceCompatible after next minor release;
7+
// the Scala 3.2 -> 3.3 upgrade requires a minor version bump
8+
versionPolicyIntention := Compatibility.BinaryCompatible,
9+
crossScalaVersions := Seq("2.13.10", "2.12.17", "3.3.0"),
810
scalaVersion := crossScalaVersions.value.head,
911
)
1012

@@ -39,6 +41,7 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
3941
// not sure what resolving this would look like? didn't think about it too hard
4042
"-Wconf:site=scala.util.parsing.combinator.lexical.StdLexical.*&cat=other-match-analysis:i",
4143
)
44+
case Some((3, _)) => Seq("Wunused:all")
4245
case _ => Seq()
4346
}),
4447
Compile / doc / scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {

‎shared/src/test/scala/scala/util/parsing/combinator/LongestMatchTest.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package scala.util.parsing.combinator
22

33
import java.io.StringReader
44

5-
import scala.util.parsing.combinator.Parsers
65
import scala.util.parsing.input.StreamReader
76

87
import org.junit.Test

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /