diff options
author | Paul Phillips <paulp@improving.org> | 2009-10-19 18:40:17 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-10-19 18:40:17 +0000 |
commit | 5eeb2a3b439419e1f6b17925c439346a3cab017d (patch) | |
tree | 110e44ce51562429e6c01e6fda71332550e70e0a /test | |
parent | 2bdd20d023c842472139abf995543d2dda5c28d5 (diff) | |
download | scala-5eeb2a3b439419e1f6b17925c439346a3cab017d.tar.gz scala-5eeb2a3b439419e1f6b17925c439346a3cab017d.tar.bz2 scala-5eeb2a3b439419e1f6b17925c439346a3cab017d.zip |
A new and better fix for ticket #1373.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/bug1373.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/bug1373.scala b/test/files/run/bug1373.scala new file mode 100644 index 0000000000..537421c788 --- /dev/null +++ b/test/files/run/bug1373.scala @@ -0,0 +1,6 @@ +// Testing whether case class params come back in the right order. +object Test extends Application { + case class Foo(private val a: String, b: String, private val c: String, d: String, private val e: String) + val x = Foo("a", "b", "c", "d", "e") + assert(x.toString == """Foo(a,b,c,d,e)""") +}
\ No newline at end of file |