We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looks like all our fastparse definitions won't compile any more with scala 2.13.7
identifier expected but '_' found. [error] private def wholeNumber[_: P]: P[Int] = P(CharIn("0-9").rep(1).!.map(_.toInt))
Our compiler flags:
"-Xsource:3", "--target:11", "-feature", "-unchecked", "-deprecation", "-encoding", "UTF-8", // yes, this is 2 args "-language:existentials", "-language:higherKinds", "-language:implicitConversions", "-unchecked", "-Xlint:-unused,_"
something is mentioned here: scala/scala#9712
But maybe the docs here could be updated showing how to fix these?
The text was updated successfully, but these errors were encountered:
@SethTisue IIRC we only made compilations fail when using eta expansion? Or did we make the use of underscore here a compile failure as well?
Sorry, something went wrong.
Under -Xsource:3 it's a failure, as per scala/scala#9712
-Xsource:3
Replace the _ with any old identifier. The documentation should change, though.
The documentation has changed to $
$
No branches or pull requests
Looks like all our fastparse definitions won't compile any more with scala 2.13.7
Our compiler flags:
something is mentioned here: scala/scala#9712
But maybe the docs here could be updated showing how to fix these?
The text was updated successfully, but these errors were encountered: