summaryrefslogtreecommitdiff
path: root/test/files/run/Course-2002-10.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2003-12-08 10:41:20 +0000
committermihaylov <mihaylov@epfl.ch>2003-12-08 10:41:20 +0000
commit6b8ceb50e3c97f9317eb33613a4d5f21d4cf9d55 (patch)
tree012bebe0052939802f5d4e8cb10eed0617ad1677 /test/files/run/Course-2002-10.scala
parent829cdf1f81a45701fbd4d9e701ebb7ab8e6a94c6 (diff)
downloadscala-6b8ceb50e3c97f9317eb33613a4d5f21d4cf9d55.tar.gz
scala-6b8ceb50e3c97f9317eb33613a4d5f21d4cf9d55.tar.bz2
scala-6b8ceb50e3c97f9317eb33613a4d5f21d4cf9d55.zip
- added 'import java.lang.System' to allow the ...
- added 'import java.lang.System' to allow the tests to compile with the .NET backend
Diffstat (limited to 'test/files/run/Course-2002-10.scala')
-rw-r--r--test/files/run/Course-2002-10.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/Course-2002-10.scala b/test/files/run/Course-2002-10.scala
index d75d52e963..e634309018 100644
--- a/test/files/run/Course-2002-10.scala
+++ b/test/files/run/Course-2002-10.scala
@@ -3,6 +3,8 @@
//############################################################################
// $Id$
+import java.lang.System; // to avoid name clash with .NET's library
+
object M0 {
def addStream (s1: Stream[int], s2: Stream[int]): Stream[int] =