From d4c63b2af19fb48730b3c3eeb55a3e702893d113 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 27 Oct 2009 13:01:17 +0000 Subject: Fixed #2494, plus some reorganization of swing ... Fixed #2494, plus some reorganization of swing imports --- test/files/run/names-defaults.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/run/names-defaults.scala') diff --git a/test/files/run/names-defaults.scala b/test/files/run/names-defaults.scala index 1f92436628..008939cc9d 100644 --- a/test/files/run/names-defaults.scala +++ b/test/files/run/names-defaults.scala @@ -183,7 +183,7 @@ object Test extends Application { println(argName) // should be 4 test5 { argName = 5 } println(argName) // should be 5 - val a = test1(a = 10, b = "2") // local values a and b exist, but not ambiuous since they're val's + val a: Unit = test1(a = 10, b = "2") // local values a and b exist, but not ambiuous since they're val's // dependent types and copy method -- cgit v1.2.3