diff options
author | ilyas <ilyas@epfl.ch> | 2009-06-29 16:09:59 +0000 |
---|---|---|
committer | ilyas <ilyas@epfl.ch> | 2009-06-29 16:09:59 +0000 |
commit | e659affbea5daf934f2f078fd8b872930bbaa09c (patch) | |
tree | 8bc757562f2ab5ddcca47b2663821993cdcc92dd /test/disabled | |
parent | 91643c355b853e9bdfb70a5afab426a3537bfc1d (diff) | |
download | scala-e659affbea5daf934f2f078fd8b872930bbaa09c.tar.gz scala-e659affbea5daf934f2f078fd8b872930bbaa09c.tar.bz2 scala-e659affbea5daf934f2f078fd8b872930bbaa09c.zip |
scalap changed to treat named parameters and pa...
scalap changed to treat named parameters and package objects
Diffstat (limited to 'test/disabled')
20 files changed, 0 insertions, 72 deletions
diff --git a/test/disabled/scalap/caseClass/A.scala b/test/disabled/scalap/caseClass/A.scala deleted file mode 100644 index 3addfbdaaa..0000000000 --- a/test/disabled/scalap/caseClass/A.scala +++ /dev/null @@ -1,3 +0,0 @@ -case class CaseClass[A <: Seq[Int]](i: A, s: String) { - def foo = 239 -}
\ No newline at end of file diff --git a/test/disabled/scalap/caseClass/result.test b/test/disabled/scalap/caseClass/result.test deleted file mode 100644 index 5057f87a3f..0000000000 --- a/test/disabled/scalap/caseClass/result.test +++ /dev/null @@ -1,11 +0,0 @@ -case class CaseClass[A >: scala.Nothing <: scala.Seq[scala.Int]](a : A, s : scala.Predef.String) extends java.lang.Object with scala.ScalaObject with scala.Product { - val i : A = { /* compiled code */ } - val s : scala.Predef.String = { /* compiled code */ } - def foo : scala.Int = { /* compiled code */ } - override def hashCode() : scala.Int = { /* compiled code */ } - override def toString() : scala.Predef.String = { /* compiled code */ } - override def equals(a : scala.Any) : scala.Boolean = { /* compiled code */ } - override def productPrefix : java.lang.String = { /* compiled code */ } - override def productArity : scala.Int = { /* compiled code */ } - override def productElement(i : scala.Int) : scala.Any = { /* compiled code */ } -}
\ No newline at end of file diff --git a/test/disabled/scalap/caseObject/A.scala b/test/disabled/scalap/caseObject/A.scala deleted file mode 100644 index 7c15416841..0000000000 --- a/test/disabled/scalap/caseObject/A.scala +++ /dev/null @@ -1,3 +0,0 @@ -case object CaseObject { - def bar = 239 -}
\ No newline at end of file diff --git a/test/disabled/scalap/caseObject/result.test b/test/disabled/scalap/caseObject/result.test deleted file mode 100644 index c265c8a529..0000000000 --- a/test/disabled/scalap/caseObject/result.test +++ /dev/null @@ -1,8 +0,0 @@ -final case object CaseObject extends java.lang.Object with scala.ScalaObject with scala.Product { - def bar : scala.Int = { /* compiled code */ } - final override def toString() : java.lang.String = { /* compiled code */ } - override def productPrefix : java.lang.String = { /* compiled code */ } - override def productArity : scala.Int = { /* compiled code */ } - override def productElement(i : scala.Int) : scala.Any = { /* compiled code */ } - protected def readResolve() : java.lang.Object = { /* compiled code */ } -}
\ No newline at end of file diff --git a/test/disabled/scalap/cbnParam/A.scala b/test/disabled/scalap/cbnParam/A.scala deleted file mode 100644 index d804ba6502..0000000000 --- a/test/disabled/scalap/cbnParam/A.scala +++ /dev/null @@ -1 +0,0 @@ -class CbnParam(s: => String)
\ No newline at end of file diff --git a/test/disabled/scalap/cbnParam/result.test b/test/disabled/scalap/cbnParam/result.test deleted file mode 100644 index 7b18228986..0000000000 --- a/test/disabled/scalap/cbnParam/result.test +++ /dev/null @@ -1,3 +0,0 @@ -class CbnParam extends java.lang.Object with scala.ScalaObject { - def this(s : => scala.Predef.String) = { /* compiled code */ } -}
\ No newline at end of file diff --git a/test/disabled/scalap/classWithExistential/A.scala b/test/disabled/scalap/classWithExistential/A.scala deleted file mode 100644 index 2a77a842c9..0000000000 --- a/test/disabled/scalap/classWithExistential/A.scala +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 377edff7ef..0000000000 --- a/test/disabled/scalap/classWithExistential/result.test +++ /dev/null @@ -1,4 +0,0 @@ -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 diff --git a/test/disabled/scalap/covariantParam/A.scala b/test/disabled/scalap/covariantParam/A.scala deleted file mode 100644 index 19fb8805b7..0000000000 --- a/test/disabled/scalap/covariantParam/A.scala +++ /dev/null @@ -1,3 +0,0 @@ -class CovariantParam[+A] { - def foo[A](a: A) = 42 -}
\ No newline at end of file diff --git a/test/disabled/scalap/covariantParam/result.test b/test/disabled/scalap/covariantParam/result.test deleted file mode 100644 index e7c4a00bcb..0000000000 --- a/test/disabled/scalap/covariantParam/result.test +++ /dev/null @@ -1,4 +0,0 @@ -class CovariantParam[+A >: scala.Nothing <: scala.Any] extends java.lang.Object with scala.ScalaObject { - def this() = { /* compiled code */ } - def foo[A >: scala.Nothing <: scala.Any](a : A) : scala.Int = { /* compiled code */ } -}
\ No newline at end of file diff --git a/test/disabled/scalap/implicitParam/A.scala b/test/disabled/scalap/implicitParam/A.scala deleted file mode 100644 index 5a5c88bc69..0000000000 --- a/test/disabled/scalap/implicitParam/A.scala +++ /dev/null @@ -1,3 +0,0 @@ -class ImplicitParam { - def foo(i: Int)(implicit f: Float, d: Double) = 42 -}
\ No newline at end of file diff --git a/test/disabled/scalap/implicitParam/result.test b/test/disabled/scalap/implicitParam/result.test deleted file mode 100644 index 4d2f49e803..0000000000 --- a/test/disabled/scalap/implicitParam/result.test +++ /dev/null @@ -1,4 +0,0 @@ -class ImplicitParam extends java.lang.Object with scala.ScalaObject { - def this() = { /* compiled code */ } - def foo(i : scala.Int)(implicit f : scala.Float, d : scala.Double) : scala.Int = { /* compiled code */ } -}
\ No newline at end of file diff --git a/test/disabled/scalap/paramClauses/A.scala b/test/disabled/scalap/paramClauses/A.scala deleted file mode 100644 index bcc76f50e3..0000000000 --- a/test/disabled/scalap/paramClauses/A.scala +++ /dev/null @@ -1,3 +0,0 @@ -class ParamClauses { - def foo(i: Int)(s: String)(t: Double) = 239 -}
\ No newline at end of file diff --git a/test/disabled/scalap/paramClauses/result.test b/test/disabled/scalap/paramClauses/result.test deleted file mode 100644 index 4a3138d3c9..0000000000 --- a/test/disabled/scalap/paramClauses/result.test +++ /dev/null @@ -1,4 +0,0 @@ -class ParamClauses extends java.lang.Object with scala.ScalaObject { - def this() = { /* compiled code */ } - def foo(i : scala.Int)(s : scala.Predef.String)(d : scala.Double) : scala.Int = { /* compiled code */ } -}
\ No newline at end of file diff --git a/test/disabled/scalap/paramNames/A.scala b/test/disabled/scalap/paramNames/A.scala deleted file mode 100644 index 7ba9ff0feb..0000000000 --- a/test/disabled/scalap/paramNames/A.scala +++ /dev/null @@ -1,3 +0,0 @@ -class ParamNames { - def foo (s: => Seq[Int], s2: => Seq[Any]) {} -} diff --git a/test/disabled/scalap/paramNames/result.test b/test/disabled/scalap/paramNames/result.test deleted file mode 100644 index 2d59f72ec1..0000000000 --- a/test/disabled/scalap/paramNames/result.test +++ /dev/null @@ -1,4 +0,0 @@ -class ParamNames extends java.lang.Object with scala.ScalaObject { - def this() = { /* compiled code */ } - def foo(s : => scala.Seq[scala.Int], s : => scala.Seq[scala.Any]) : scala.Unit = { /* compiled code */ } -}
\ No newline at end of file diff --git a/test/disabled/scalap/sequenceParam/A.scala b/test/disabled/scalap/sequenceParam/A.scala deleted file mode 100644 index 98874fafb1..0000000000 --- a/test/disabled/scalap/sequenceParam/A.scala +++ /dev/null @@ -1 +0,0 @@ -class SequenceParam(s: String, i: Int*)
\ No newline at end of file diff --git a/test/disabled/scalap/sequenceParam/result.test b/test/disabled/scalap/sequenceParam/result.test deleted file mode 100644 index a4769c81df..0000000000 --- a/test/disabled/scalap/sequenceParam/result.test +++ /dev/null @@ -1,3 +0,0 @@ -class SequenceParam extends java.lang.Object with scala.ScalaObject { - def this(s : scala.Predef.String, s : scala.Int*) = { /* compiled code */ } -}
\ No newline at end of file diff --git a/test/disabled/scalap/wildcardType/A.scala b/test/disabled/scalap/wildcardType/A.scala deleted file mode 100644 index d99841cb36..0000000000 --- a/test/disabled/scalap/wildcardType/A.scala +++ /dev/null @@ -1 +0,0 @@ -class WildcardType(f: Int => _)
\ No newline at end of file diff --git a/test/disabled/scalap/wildcardType/result.test b/test/disabled/scalap/wildcardType/result.test deleted file mode 100644 index 78a24ef22a..0000000000 --- a/test/disabled/scalap/wildcardType/result.test +++ /dev/null @@ -1,3 +0,0 @@ -class WildcardType extends java.lang.Object with scala.ScalaObject { - def this(f : scala.Function1[scala.Int, _]) = { /* compiled code */ } -}
\ No newline at end of file |