aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotc/scala-collections.blacklist
diff options
context:
space:
mode:
authorNicolas Stucki <nicolas.stucki@gmail.com>2016-12-17 19:30:46 +0100
committerNicolas Stucki <nicolas.stucki@gmail.com>2016-12-18 16:18:21 +0100
commit04f055507edc2a43da6c9ce7cac9539b411f5e44 (patch)
treecb4fa0624ff0294c62b16f042d3eedeca599934d /compiler/test/dotc/scala-collections.blacklist
parenta15bdaf0068688f0d64edea72b55b46cce52789a (diff)
downloaddotty-04f055507edc2a43da6c9ce7cac9539b411f5e44.tar.gz
dotty-04f055507edc2a43da6c9ce7cac9539b411f5e44.tar.bz2
dotty-04f055507edc2a43da6c9ce7cac9539b411f5e44.zip
Whitelist ObservableMap
Diffstat (limited to 'compiler/test/dotc/scala-collections.blacklist')
-rw-r--r--compiler/test/dotc/scala-collections.blacklist20
1 files changed, 5 insertions, 15 deletions
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() }