diff options
author | mihaylov <mihaylov@epfl.ch> | 2006-11-01 16:03:28 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2006-11-01 16:03:28 +0000 |
commit | 257a1845d3db3477a0b5939e94d77b0495d89561 (patch) | |
tree | 0aedf35621282407918e0f56b3b5ffc0952e6a14 /test/files/pos/bug193.scala | |
parent | 8b0cd5cf7c2a682dd70d6b8ea32b521015bf2269 (diff) | |
download | scala-257a1845d3db3477a0b5939e94d77b0495d89561.tar.gz scala-257a1845d3db3477a0b5939e94d77b0495d89561.tar.bz2 scala-257a1845d3db3477a0b5939e94d77b0495d89561.zip |
Refactored portability support
Diffstat (limited to 'test/files/pos/bug193.scala')
-rw-r--r-- | test/files/pos/bug193.scala | 10 |
1 files changed, 5 insertions, 5 deletions
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; |