summaryrefslogtreecommitdiff
path: root/test/files/run/exceptions.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/exceptions.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/exceptions.scala')
-rw-r--r--test/files/run/exceptions.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/exceptions.scala b/test/files/run/exceptions.scala
index b89056aa78..3a4ce70ca3 100644
--- a/test/files/run/exceptions.scala
+++ b/test/files/run/exceptions.scala
@@ -5,6 +5,8 @@
//############################################################################
+import java.lang.System; // to avoid name clash with .NET's library
+
abstract class IntMap[A] {
def lookup(key: Int): A = match {
case Empty() => error("KO")