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/disabled/scalap/paramClauses | |
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/disabled/scalap/paramClauses')
-rw-r--r-- | test/disabled/scalap/paramClauses/A.scala | 3 | ||||
-rw-r--r-- | test/disabled/scalap/paramClauses/result.test | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/disabled/scalap/paramClauses/A.scala b/test/disabled/scalap/paramClauses/A.scala new file mode 100644 index 0000000000..bcc76f50e3 --- /dev/null +++ b/test/disabled/scalap/paramClauses/A.scala @@ -0,0 +1,3 @@ +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 new file mode 100644 index 0000000000..4a3138d3c9 --- /dev/null +++ b/test/disabled/scalap/paramClauses/result.test @@ -0,0 +1,4 @@ +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 |