Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
StackOverFlowError when modifying examples/sort2.scala #4961
When expanding the List to be sorted by examples/sort2.scala to some more values like val xs2 = List(6, 2, 8, 5, 112,-44,-22,109,56,-66,43,42,109,-111,2341) the program crashes with a StackOverFlowError.
As a scala beginner I have no idea if this error is due to the algorithm used in the example or if it reveals some bigger bug in Scala.
This is the stacktrace:
Imported From: https://issues.scala-lang.org/browse/SI-4961?orig=1