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
Using scala-2.10.0.r25759-b20110929023607, compiling the following:
case class Token(text: String, startIndex: Int) object Comment { def unapply(s: String): Option[Token] = None } object HiddenTokens { "foo" match { case Comment(_) => } }
Gives the error:
Comment.scala:11: error: wrong number of arguments for object Comment "foo" match { case Comment(_) => } ^ one error found
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-5041?orig=1 Reporter: Matt Russell (mattrussell) Other Milestones: 2.10.0
Sorry, something went wrong.
Matt Russell (mattrussell) said: I don't get the error in scala-2.10.0.r26084-b20111129023531.
@paulp said: Doesn't close without a test case.
@retronym said: scala/scala#630
retronym
No branches or pull requests
Using scala-2.10.0.r25759-b20110929023607, compiling the following:
Gives the error:
The text was updated successfully, but these errors were encountered: