diff options
author | mihaylov <mihaylov@epfl.ch> | 2003-12-08 10:41:20 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2003-12-08 10:41:20 +0000 |
commit | 6b8ceb50e3c97f9317eb33613a4d5f21d4cf9d55 (patch) | |
tree | 012bebe0052939802f5d4e8cb10eed0617ad1677 /test/files/run/constructors.scala | |
parent | 829cdf1f81a45701fbd4d9e701ebb7ab8e6a94c6 (diff) | |
download | scala-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/constructors.scala')
-rw-r--r-- | test/files/run/constructors.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/constructors.scala b/test/files/run/constructors.scala index 43d2da6af8..f46088fa00 100644 --- a/test/files/run/constructors.scala +++ b/test/files/run/constructors.scala @@ -2,6 +2,8 @@ // Test constructors, including multiple ones. +import java.lang.System; // to avoid name clash with .NET's library + class A(x: Int, y: Int) { def this(x: Int) = this(x, x); def this() = this(1); |