diff options
author | Martin Odersky <odersky@gmail.com> | 2011-03-24 11:15:37 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2011-03-24 11:15:37 +0000 |
commit | 0dd018e2cbeb487ed2d94ed9fdd413250ff67a7f (patch) | |
tree | 20bbb275b2fbb079f5b0f1e25a703a5fbf6dbfab /test/pending/run/sigtp.scala | |
parent | ae8e258bf4147a9b10889503f784a3b97a7d2e09 (diff) | |
download | scala-0dd018e2cbeb487ed2d94ed9fdd413250ff67a7f.tar.gz scala-0dd018e2cbeb487ed2d94ed9fdd413250ff67a7f.tar.bz2 scala-0dd018e2cbeb487ed2d94ed9fdd413250ff67a7f.zip |
Moved failing tests to pending after having dia...
Moved failing tests to pending after having diagnosed that the only
problem is a difference in output between Java 1.5 and 1.6 reflection
libraries. Can we moved back once that's fixed. For now, it's more
important to ghet the build back.
Diffstat (limited to 'test/pending/run/sigtp.scala')
-rw-r--r-- | test/pending/run/sigtp.scala | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/pending/run/sigtp.scala b/test/pending/run/sigtp.scala new file mode 100644 index 0000000000..3e162cfdba --- /dev/null +++ b/test/pending/run/sigtp.scala @@ -0,0 +1,17 @@ +import scala.tools.partest._ + +trait BugBase [A, E] { + val key: A + var next: E = _ +} + +final class Bug[A, B](val key: A) extends BugBase[A, Bug[A, B]] { + def foo = next +} + +object Test extends SigTest { + def main(args: Array[String]): Unit = { + show[BugBase[_, _]]() + show[Bug[_, _]]() + } +} |