blob: f4ed3f46434079c03aa896fe707a5d76311525f7 (
plain) (
tree)
|
|
// $Id: bug193.scala 9110 2006-11-01 16:03:28 +0000 (Wed, 01 Nov 2006) mihaylov $
trait Test {
def fun_00(x: Int): Unit = {
(0: Any) == 0;
(0 ) == 0;
(0: Any) != 0;
(0 ) != 0;
()
}
def fun_i0(x: Int): Unit = {
(x: Any) == 0;
(x ) == 0;
(x: Any) != 0;
(x ) != 0;
()
}
def fun_o0(x: AnyRef): Unit = {
(x: Any) == 0;
(x ) == 0;
(x: Any) != 0;
(x ) != 0;
()
}
def fun_0i(y: Int): Unit = {
(0: Any) == y;
(0 ) == y;
(0: Any) != y;
(0 ) != y;
()
}
def fun_0o(y: AnyRef): Unit = {
(0: Any) == y;
(0 ) == y;
(0: Any) != y;
(0 ) != y;
()
}
def fun_ii(x: Int, y: Int): Unit = {
(x: Any) == y;
(x ) == y;
(x: Any) != y;
(x ) != y;
()
}
def fun_io(x: Int, y: AnyRef): Unit = {
(x: Any) == y;
(x ) == y;
(x: Any) != y;
(x ) != y;
()
}
def fun_oi(x: AnyRef, y: Int): Unit = {
(x: Any) == y;
(x ) == y;
(x: Any) != y;
(x ) != y;
()
}
def fun_oo(x: AnyRef, y: AnyRef): Unit = {
(x: Any) == y;
(x ) == y;
(x: Any) != y;
(x ) != y;
()
}
}
|