diff options
Diffstat (limited to 'test/files/jvm/serialization.scala')
-rw-r--r-- | test/files/jvm/serialization.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/serialization.scala b/test/files/jvm/serialization.scala index ec1bbbab13..17fc54aecf 100644 --- a/test/files/jvm/serialization.scala +++ b/test/files/jvm/serialization.scala @@ -46,8 +46,8 @@ object Test1_scala { val x4 = { x: Int => 2 * x } try { - val y1: List[All] = Serialize.read(Serialize.write(x1)); - val y2: Option[All] = Serialize.read(Serialize.write(x2)); + val y1: List[Nothing] = Serialize.read(Serialize.write(x1)); + val y2: Option[Nothing] = Serialize.read(Serialize.write(x2)); val y3: Array[Int] = Serialize.read(Serialize.write(x3)); val y4: Function[Int, Int] = Serialize.read(Serialize.write(x4)); |