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/bug193.scala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/files/pos/bug193.scala') diff --git a/test/files/pos/bug193.scala b/test/files/pos/bug193.scala index 9b1c82f45f..e055f8a324 100644 --- a/test/files/pos/bug193.scala +++ b/test/files/pos/bug193.scala @@ -18,7 +18,7 @@ trait Test { () } - def fun_o0(x: Object): Unit = { + def fun_o0(x: AnyRef): Unit = { (x: Any) == 0; (x ) == 0; (x: Any) != 0; @@ -34,7 +34,7 @@ trait Test { () } - def fun_0o(y: Object): Unit = { + def fun_0o(y: AnyRef): Unit = { (0: Any) == y; (0 ) == y; (0: Any) != y; @@ -49,21 +49,21 @@ trait Test { (x ) != y; () } - def fun_io(x: Int, y: Object): Unit = { + def fun_io(x: Int, y: AnyRef): Unit = { (x: Any) == y; (x ) == y; (x: Any) != y; (x ) != y; () } - def fun_oi(x: Object, y: Int): Unit = { + def fun_oi(x: AnyRef, y: Int): Unit = { (x: Any) == y; (x ) == y; (x: Any) != y; (x ) != y; () } - def fun_oo(x: Object, y: Object): Unit = { + def fun_oo(x: AnyRef, y: AnyRef): Unit = { (x: Any) == y; (x ) == y; (x: Any) != y; -- cgit v1.2.3