diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-05-30 07:36:31 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-05-30 07:36:31 +0000 |
commit | 390ccacfe0caa4c07af6193dec3e172c0fcd7896 (patch) | |
tree | 001ff4a00bd9d8cab651d9bf245bfc795748d829 /test/files/scalap/covariantParam | |
parent | 661f1ba10e5062fd987c4cafe43ad1f0dc3f5491 (diff) | |
download | scala-390ccacfe0caa4c07af6193dec3e172c0fcd7896.tar.gz scala-390ccacfe0caa4c07af6193dec3e172c0fcd7896.tar.bz2 scala-390ccacfe0caa4c07af6193dec3e172c0fcd7896.zip |
Named and default arguments
- MethodTypes now have (params: List[Symbol])
- "copy"-methods for case classes
- the "copy" object in the compiler is now called "treeCopy"
Diffstat (limited to 'test/files/scalap/covariantParam')
-rw-r--r-- | test/files/scalap/covariantParam/A.scala | 3 | ||||
-rw-r--r-- | test/files/scalap/covariantParam/result.test | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/test/files/scalap/covariantParam/A.scala b/test/files/scalap/covariantParam/A.scala deleted file mode 100644 index 19fb8805b7..0000000000 --- a/test/files/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/files/scalap/covariantParam/result.test b/test/files/scalap/covariantParam/result.test deleted file mode 100644 index e7c4a00bcb..0000000000 --- a/test/files/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 |