diff options
author | Paul Phillips <paulp@improving.org> | 2009-05-09 03:53:41 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-05-09 03:53:41 +0000 |
commit | 2ea3b94ee2519e01a3e1658909afeb33e7e9ebe2 (patch) | |
tree | 9bb2044c595fe260c352a00cf98bb2ecece50437 /test/disabled/scalap/classWithExistential | |
parent | f7ab13b08e085c3bf94d857fc9648ee724e4cb08 (diff) | |
download | scala-2ea3b94ee2519e01a3e1658909afeb33e7e9ebe2.tar.gz scala-2ea3b94ee2519e01a3e1658909afeb33e7e9ebe2.tar.bz2 scala-2ea3b94ee2519e01a3e1658909afeb33e7e9ebe2.zip |
Organized disabled directory so it works with p...
Organized disabled directory so it works with partest. You can run
./partest --srcpath disabled to run the tests in that location. Fixed a
few tests in disabled and pending and moved to files.
Diffstat (limited to 'test/disabled/scalap/classWithExistential')
-rw-r--r-- | test/disabled/scalap/classWithExistential/A.scala | 3 | ||||
-rw-r--r-- | test/disabled/scalap/classWithExistential/result.test | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/disabled/scalap/classWithExistential/A.scala b/test/disabled/scalap/classWithExistential/A.scala new file mode 100644 index 0000000000..2a77a842c9 --- /dev/null +++ b/test/disabled/scalap/classWithExistential/A.scala @@ -0,0 +1,3 @@ +class ClassWithExistential { + def foo[A, B] : A=> B forSome {type A <: Seq[Int]; type B >: String} = null +}
\ No newline at end of file diff --git a/test/disabled/scalap/classWithExistential/result.test b/test/disabled/scalap/classWithExistential/result.test new file mode 100644 index 0000000000..377edff7ef --- /dev/null +++ b/test/disabled/scalap/classWithExistential/result.test @@ -0,0 +1,4 @@ +class ClassWithExistential extends java.lang.Object with scala.ScalaObject { + def this() = { /* compiled code */ } + def foo[A >: scala.Nothing <: scala.Any, B >: scala.Nothing <: scala.Any] : scala.Function1[A, B forSome {type A >: scala.Nothing <: scala.Seq[scala.Int]; type B >: scala.Predef.String <: scala.Any}] = { /* compiled code */ } +}
\ No newline at end of file |