diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/jvm/serialization.scala | 2 | ||||
-rw-r--r-- | test/files/pos/collections.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/serialization.scala b/test/files/jvm/serialization.scala index 81d21e6dc5..f6ab36e229 100644 --- a/test/files/jvm/serialization.scala +++ b/test/files/jvm/serialization.scala @@ -220,7 +220,7 @@ object Test3_mutable { x3 ++= Test2_immutable.x1.map(p => p._1) @serializable - class Feed extends Publisher[String, Feed] + class Feed extends Publisher[String] val x8 = new History[String, Feed] diff --git a/test/files/pos/collections.scala b/test/files/pos/collections.scala index 61a25528c7..23b23d016e 100644 --- a/test/files/pos/collections.scala +++ b/test/files/pos/collections.scala @@ -2,7 +2,7 @@ package mixins; import scala.collection.mutable._; -class Collections extends HashSet[Int] with ObservableSet[Int,Collections] { +class Collections extends HashSet[Int] with ObservableSet[Int] { override def +=(elem: Int): this.type = super.+=(elem); override def -=(elem: Int): this.type = super.-=(elem); override def clear: Unit = super.clear; |