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

Update scala-library to 2.13.15 #562

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

Merged
Philippus merged 4 commits into scala:main from scala-steward:update/scala-library-2.13.15
Oct 18, 2024
Merged
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
2 changes: 1 addition & 1 deletion build.sbt
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ThisBuild / startYear := Some(2004)
val commonSettings = Seq(
versionScheme := Some("early-semver"),
versionPolicyIntention := Compatibility.BinaryAndSourceCompatible,
crossScalaVersions := Seq("2.13.14", "2.12.20", "3.3.4"),
crossScalaVersions := Seq("2.13.15", "2.12.20", "3.3.4"),
scalaVersion := crossScalaVersions.value.head,
)

Expand Down
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package lexical

import token._
import input.CharArrayReader.EofCh
import scala.annotation.nowarn
import scala.collection.mutable

/** This component provides a standard lexical parser for a simple,
Expand Down Expand Up @@ -54,6 +55,7 @@ class StdLexical extends Lexical with StdTokens {
}

// see `whitespace in `Scanners`
@nowarn("cat=lint-infer-any")
def whitespace: Parser[Any] = rep[Any](
whitespaceChar
| '/' ~ '*' ~ comment
Expand Down
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private object grammars3 extends StandardTokenParsers with PackratParsers {
| success(Nil)
)

@annotation.nowarn // Some(xs) in pattern isn't exhaustive
@annotation.nowarn("cat=other-match-analysis")
def repMany1[T](p: => Parser[T], q: => Parser[T]): Parser[List[T]] =
p~opt(repMany(p,q))~q ^^ {case x~Some(xs)~y => x::xs:::(y::Nil)}

Expand Down

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /