diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-09-24 17:27:20 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-09-24 17:27:20 +0000 |
commit | 6fea2488af12d942c1cf7ba781d2f60fe6ddc9c0 (patch) | |
tree | 8dfb5b1df353a5da15a92f8d5873f1617f800864 /test/files | |
parent | fb38e47af1dec087a11585c6878c70ccdc930312 (diff) | |
download | scala-6fea2488af12d942c1cf7ba781d2f60fe6ddc9c0.tar.gz scala-6fea2488af12d942c1cf7ba781d2f60fe6ddc9c0.tar.bz2 scala-6fea2488af12d942c1cf7ba781d2f60fe6ddc9c0.zip |
fix #2390
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/names-defaults.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/run/names-defaults.scala b/test/files/run/names-defaults.scala index 1235869db7..1f92436628 100644 --- a/test/files/run/names-defaults.scala +++ b/test/files/run/names-defaults.scala @@ -257,9 +257,11 @@ object Test extends Application { spawn(b = { val ttt = 1; ttt }, a = 0) } - // # 2382 + // #2382 class A2382[+T](x: T => Int) { def foo(a: T => Int = x) = 0 } + // #2390 + case class A2390[T](x: Int) { def copy(a: Int)(b: Int = 0) = 0 } // DEFINITIONS def test1(a: Int, b: String) = println(a +": "+ b) |