From 04f055507edc2a43da6c9ce7cac9539b411f5e44 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Sat, 17 Dec 2016 19:30:46 +0100 Subject: Whitelist ObservableMap --- compiler/test/dotc/scala-collections.blacklist | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'compiler/test/dotc/scala-collections.blacklist') diff --git a/compiler/test/dotc/scala-collections.blacklist b/compiler/test/dotc/scala-collections.blacklist index 2085228b2..b8353c079 100644 --- a/compiler/test/dotc/scala-collections.blacklist +++ b/compiler/test/dotc/scala-collections.blacklist @@ -30,24 +30,14 @@ # | cyclic inheritance: class FilteredKeys extends itself # ... -../scala-scala/src/library/scala/collection/mutable/ObservableBuffer.scala -# 73 | }) -# | ^ -# | found: scala.collection.script.Reset with scala.collection.mutable.Undoable{...} -# | required: scala.collection.script.Message[A] & scala.collection.mutable.Undoable -# ... - ../scala-scala/src/library/scala/collection/mutable/ObservableMap.scala -# 68 | }) -# | ^ -# | found: scala.collection.script.Reset with scala.collection.mutable.Undoable{...} -# | required: scala.collection.script.Message[(A, B)] & scala.collection.mutable.Undoable +# assertion failed ../scala-scala/src/library/scala/collection/mutable/ObservableSet.scala -# 52 | }) -# | ^ -# | found: scala.collection.script.Reset with scala.collection.mutable.Undoable{...} -# | required: scala.collection.script.Message[A] & scala.collection.mutable.Undoable +# 35 | publish(new Include(elem) with Undoable { def undo = -=(elem) }) +# | ^ +# | overriding method undo in trait Undoable of type ()Unit; +# | method undo of type => scala.collection.mutable.ObservableSet[A] has incompatible type ../scala-scala/src/library/scala/collection/mutable/SynchronizedQueue.scala # 102 | override def toString() = synchronized { super.toString() } -- cgit v1.2.3