-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Scala 2 keep using scala-parser-combinators 1.x (Scala 3: 2.x) #772
Merged
Merged
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
4b558ac
Revert "Update scala-parser-combinators to 2.2.0"
mkurz 18b0b47
In Scala 2 keep using scala-parser-combinators 1.x (Scala 3: 2.x)
mkurz dd722c2
Merge branch 'develop' into revert_3e9a9319
eed3si9n 90da9f7
Merge branch 'develop' into revert_3e9a9319
eed3si9n File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,15 +25,20 @@ object Dependencies { | |
"org.scalatest" %% "scalatest-funsuite" % "3.2.15" % Test, | ||
"org.scalatest" %% "scalatest-shouldmatchers" % "3.2.15" % Test | ||
) | ||
val scalamock = "org.scalamock" %% "scalamock" % "5.2.0" | ||
val verify = "com.eed3si9n.verify" %% "verify" % "1.0.0" | ||
val sbtIo = "org.scala-sbt" %% "io" % "1.8.0" | ||
val scala212 = "2.12.17" | ||
val scala213 = "2.13.10" | ||
val sbt1 = "1.2.8" | ||
val scalaXml = "org.scala-lang.modules" %% "scala-xml" % "2.1.0" | ||
val parserCombinator = "org.scala-lang.modules" %% "scala-parser-combinators" % "2.2.0" | ||
val logback = "ch.qos.logback" % "logback-classic" % "1.2.3" | ||
val coursier = "io.get-coursier" %% "coursier" % "2.0.16" | ||
val launcherIntf = "org.scala-sbt" % "launcher-interface" % "1.4.1" | ||
val scalamock = "org.scalamock" %% "scalamock" % "5.2.0" | ||
val verify = "com.eed3si9n.verify" %% "verify" % "1.0.0" | ||
val sbtIo = "org.scala-sbt" %% "io" % "1.8.0" | ||
val scala212 = "2.12.17" | ||
val scala213 = "2.13.10" | ||
val sbt1 = "1.2.8" | ||
val scalaXml = "org.scala-lang.modules" %% "scala-xml" % "2.1.0" | ||
def parserCombinator(scalaVersion: String) = "org.scala-lang.modules" %% "scala-parser-combinators" % { | ||
CrossVersion.partialVersion(scalaVersion) match { | ||
case Some((2, _)) => "1.1.2" // Do not upgrade beyond 1.x | ||
case _ => "2.2.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Scala 2 always keep using 1.x, when cross compiling to Scala 3 in future it can use 2.x. |
||
} | ||
} | ||
val logback = "ch.qos.logback" % "logback-classic" % "1.2.3" | ||
val coursier = "io.get-coursier" %% "coursier" % "2.0.16" | ||
val launcherIntf = "org.scala-sbt" % "launcher-interface" % "1.4.1" | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to care about Scala 2.11 anymore, was dropped in #428