summaryrefslogtreecommitdiff
path: root/test/files/pos/thistype.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-11-01 16:03:28 +0000
committermihaylov <mihaylov@epfl.ch>2006-11-01 16:03:28 +0000
commit257a1845d3db3477a0b5939e94d77b0495d89561 (patch)
tree0aedf35621282407918e0f56b3b5ffc0952e6a14 /test/files/pos/thistype.scala
parent8b0cd5cf7c2a682dd70d6b8ea32b521015bf2269 (diff)
downloadscala-257a1845d3db3477a0b5939e94d77b0495d89561.tar.gz
scala-257a1845d3db3477a0b5939e94d77b0495d89561.tar.bz2
scala-257a1845d3db3477a0b5939e94d77b0495d89561.zip
Refactored portability support
Diffstat (limited to 'test/files/pos/thistype.scala')
-rw-r--r--test/files/pos/thistype.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/thistype.scala b/test/files/pos/thistype.scala
index 8c0ba209be..c8f7ec9678 100644
--- a/test/files/pos/thistype.scala
+++ b/test/files/pos/thistype.scala
@@ -1,11 +1,11 @@
object Test {
class Ctl {
- def enable: this.type = { System.out.println("enable"); this }
+ def enable: this.type = { Console.println("enable"); this }
}
class MouseCtl extends Ctl {
- def mouseDown(x: int, y: int): unit = { System.out.println("mouse down"); }
+ def mouseDown(x: int, y: int): unit = { Console.println("mouse down"); }
}
def main(args: Array[String]) =