diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2012-05-11 16:00:54 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2012-05-11 16:06:37 +0200 |
commit | 40e7cab7a22a8531bdd310bfb57fda51b798c690 (patch) | |
tree | baf453e3316e46b17c7e1f1a1e58ce31eb1b1763 /test/files/run/names-defaults.check | |
parent | 2422b064e7a52c04dfb2239fc8e7b9ffbab24251 (diff) | |
download | scala-40e7cab7a22a8531bdd310bfb57fda51b798c690.tar.gz scala-40e7cab7a22a8531bdd310bfb57fda51b798c690.tar.bz2 scala-40e7cab7a22a8531bdd310bfb57fda51b798c690.zip |
Fix SI-5009: case-class copy method now eta-expands over higher parameter lists.
Example: Given
case class C(a: Int)(b: Int)
if you call (new C(1)(2)).copy(a = 10)), you get a function (f: Int => C) such
that (f.apply(20)) yields a (new C(10)(20)).
Diffstat (limited to 'test/files/run/names-defaults.check')
-rw-r--r-- | test/files/run/names-defaults.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/names-defaults.check b/test/files/run/names-defaults.check index 5656d1a276..f253de71d6 100644 --- a/test/files/run/names-defaults.check +++ b/test/files/run/names-defaults.check @@ -92,7 +92,7 @@ test5 test5 5 10: 2 -slkdfj1 +slkdfj2 1 lskfdjlk 11 |