From 257a1845d3db3477a0b5939e94d77b0495d89561 Mon Sep 17 00:00:00 2001 From: mihaylov Date: Wed, 1 Nov 2006 16:03:28 +0000 Subject: Refactored portability support --- test/files/pos/thistype.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/pos/thistype.scala') 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]) = -- cgit v1.2.3