summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dotnet-library/scala/List.scala2
-rwxr-xr-xtest/files/script/second.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dotnet-library/scala/List.scala b/src/dotnet-library/scala/List.scala
index 8cc9e4e419..e50d8e9bc5 100644
--- a/src/dotnet-library/scala/List.scala
+++ b/src/dotnet-library/scala/List.scala
@@ -787,7 +787,7 @@ sealed abstract class List[+A] extends Seq[A] {
* The relative order of the elements in the sub-lists is the
* same as in the original list.
*/
- def partition(p: A => Boolean): (List[A], List[A]) = {
+ override def partition(p: A => Boolean): (List[A], List[A]) = {
val btrue = new ListBuffer[A]
val bfalse = new ListBuffer[A]
var these = this
diff --git a/test/files/script/second.scala b/test/files/script/second.scala
index cd7a1c5342..48b8d73815 100755
--- a/test/files/script/second.scala
+++ b/test/files/script/second.scala
@@ -1,3 +1,3 @@
#!/bin/sh
-scala -e 'println("My second argument is " + args(1))' arg1 arg2
+scala -nocompdaemon -e 'println("My second argument is " + args(1))' arg1 arg2