From 7da30bf2d5195d1e7a156680b50167707f7a3d0a Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 9 Nov 2009 18:34:49 +0000 Subject: added `locally' to Predef. added overloaded hashes to Predef. some small changes. --- test/files/pos/t2569/Child.scala | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/files/pos/t2569/Child.scala (limited to 'test/files/pos/t2569/Child.scala') diff --git a/test/files/pos/t2569/Child.scala b/test/files/pos/t2569/Child.scala new file mode 100644 index 0000000000..64f4dc172f --- /dev/null +++ b/test/files/pos/t2569/Child.scala @@ -0,0 +1,9 @@ +package varargs + + class Child extends Parent { + + override def concatenate(strings: String*): String = + strings map("\"" + _ + "\"") mkString("(", ", ", ")") + + } + -- cgit v1.2.3