diff options
Diffstat (limited to 'test/files/pos/collections.scala.disabled')
-rw-r--r-- | test/files/pos/collections.scala.disabled | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/collections.scala.disabled b/test/files/pos/collections.scala.disabled index 4f45a42786..61a25528c7 100644 --- a/test/files/pos/collections.scala.disabled +++ b/test/files/pos/collections.scala.disabled @@ -3,8 +3,8 @@ package mixins; import scala.collection.mutable._; class Collections extends HashSet[Int] with ObservableSet[Int,Collections] { - override def +=(elem: Int): Unit = super.+=(elem); - override def -=(elem: Int): Unit = super.-=(elem); + override def +=(elem: Int): this.type = super.+=(elem); + override def -=(elem: Int): this.type = super.-=(elem); override def clear: Unit = super.clear; } |