From 4d07c3dac6fee9afa1c3eb3ab246c339a703f740 Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Fri, 9 May 2008 14:20:54 +0000 Subject: changed copying of .net / jvm14 libraries. --- src/dotnet-library/scala/List.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dotnet-library') diff --git a/src/dotnet-library/scala/List.scala b/src/dotnet-library/scala/List.scala index 28228cc2f8..dea3a9a255 100644 --- a/src/dotnet-library/scala/List.scala +++ b/src/dotnet-library/scala/List.scala @@ -450,7 +450,7 @@ sealed abstract class List[+A] extends Seq[A] { * @param x the element to append. * @return the list with x added at the end. */ - def +[B >: A](x: B): List[B] = + override def +[B >: A](x: B): List[B] = if (isEmpty) List(x) else { val buf = new ListBuffer[B] -- cgit v1.2.3