1
// Testing whether case class params come back in the right order.
2
object Test extends App {
3
case class Foo(private val a: String, b: String, private val c: String, d: String, private val e: String)
4
val x = Foo("a", "b", "c", "d", "e")
5
assert(x.toString == """Foo(a,b,c,d,e)""")