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 code
package test; object Test { def main(args : Array[String]) : Unit = { val l1 = List(1,2,3) val l2 = List(1,2,3,4) Console.println("l1 compare l2 = " + (l1 compare l2)) Console.println("l2 compare l1 = " + (l2 compare l1)) } }
produces this inconsistent output:
l1 compare l2 = 0 l2 compare l1 = 1
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-181?orig=1 Reporter: Florian Hars (fhars)
Sorry, something went wrong.
@odersky said: Milestone 2.6.1 deleted
No branches or pull requests
The code
produces this inconsistent output:
The text was updated successfully, but these errors were encountered: