diff options
author | Martin Odersky <odersky@gmail.com> | 2009-05-08 16:33:15 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-05-08 16:33:15 +0000 |
commit | 14a631a5fec42d04d0723355a0b93e482b5e4662 (patch) | |
tree | f639c2a22e89e193b9abea391993ecfd4d5326ee /test/files/pos/bug516.scala.disabled | |
parent | 2379eb4ebbd28c8892b50a1d9fa8a687099eea4d (diff) | |
download | scala-14a631a5fec42d04d0723355a0b93e482b5e4662.tar.gz scala-14a631a5fec42d04d0723355a0b93e482b5e4662.tar.bz2 scala-14a631a5fec42d04d0723355a0b93e482b5e4662.zip |
massive new collections checkin.
Diffstat (limited to 'test/files/pos/bug516.scala.disabled')
-rw-r--r-- | test/files/pos/bug516.scala.disabled | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/pos/bug516.scala.disabled b/test/files/pos/bug516.scala.disabled new file mode 100644 index 0000000000..623684e582 --- /dev/null +++ b/test/files/pos/bug516.scala.disabled @@ -0,0 +1,14 @@ +import scala.collection.mutable._; + +class Members; + +object subscriber extends Subscriber[Message[String] with Undoable, Members] { + def notify(pub: Members, event: Message[String] with Undoable): Unit = + (event: Message[String]) match { + case Include(elem) => Console.println("ADD: " + elem); + case Remove(elem) => Console.println("REM: " + elem); + //case i : Include[HasTree] with Undoable => + //case r : Remove [HasTree] with Undoable => + } + } + |