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. --- build.xml | 6 ++++-- src/build/four.xml | 32 +++++++++++++++++++++++++------ src/build/msil.xml | 38 ++++++++++++++++++++++++++++--------- src/dotnet-library/scala/List.scala | 2 +- 4 files changed, 60 insertions(+), 18 deletions(-) diff --git a/build.xml b/build.xml index 329648267b..e3fc55e28e 100644 --- a/build.xml +++ b/build.xml @@ -1015,11 +1015,13 @@ FORWARDED TARGETS FOR PACKAGING - + + - + + diff --git a/src/build/four.xml b/src/build/four.xml index 6e31124203..6dd92f34f4 100644 --- a/src/build/four.xml +++ b/src/build/four.xml @@ -21,17 +21,37 @@ PROPERTIES - + - + + - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/build/msil.xml b/src/build/msil.xml index 9167908304..a5e179e57b 100644 --- a/src/build/msil.xml +++ b/src/build/msil.xml @@ -6,11 +6,12 @@ SuperSabbus extension for the MSIL library targeted for the dotnet framework. THIS FILE IS NOT STAND-ALONE AND SHOULD ONLY BE USED THROUGH ENTRY POINTS IN SUPERSABBUS. - - - + + + - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -113,8 +134,7 @@ MSIL BUILD srcdir="${build-msil-src.dir}" destdir="${build-msil.dir}/library" target="msil" - assemname="predef" assemrefs="${lib.dir}" - failonerror="false"> + assemname="predef" assemrefs="${lib.dir}"> 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