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
The following should return a match non-exhaustive warning, but does not:
def merge(list1: List[Long], list2: List[Long]): Boolean = (list1, list2) match { case (hd1::, hd2::) => true case (Nil, Nil) => true }
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-5440?orig=1 Reporter: Adam Poswolsky (aposwolsky) Affected Versions: 2.9.1
Sorry, something went wrong.
@retronym said: This was fixed in 2.10.0, test case submitted here for 2.10.1.
scala/scala#1890
adriaanm
No branches or pull requests
The following should return a match non-exhaustive warning, but does not:
def merge(list1: List[Long], list2: List[Long]): Boolean = (list1, list2) match {
case (hd1::, hd2::) => true
case (Nil, Nil) => true
}
The text was updated successfully, but these errors were encountered: