summaryrefslogtreecommitdiff
path: root/test/files/jvm/interpreter.check
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2009-05-30 07:36:31 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2009-05-30 07:36:31 +0000
commit390ccacfe0caa4c07af6193dec3e172c0fcd7896 (patch)
tree001ff4a00bd9d8cab651d9bf245bfc795748d829 /test/files/jvm/interpreter.check
parent661f1ba10e5062fd987c4cafe43ad1f0dc3f5491 (diff)
downloadscala-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/jvm/interpreter.check')
-rw-r--r--test/files/jvm/interpreter.check8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/jvm/interpreter.check b/test/files/jvm/interpreter.check
index 2e18987d0f..07c41b6a1f 100644
--- a/test/files/jvm/interpreter.check
+++ b/test/files/jvm/interpreter.check
@@ -5,7 +5,7 @@ scala>
scala>
scala> res0: Int = 7
-scala> | | | | gcd: (Int,Int)Int
+scala> | | | | gcd: (x: Int,y: Int)Int
scala> five: Int = 5
@@ -59,7 +59,7 @@ scala> defined class Foo
scala> defined class Bar
-scala> foo2bar: (Foo)Bar
+scala> foo2bar: (foo: Foo)Bar
scala> bar: Bar = Bar(3)
@@ -206,11 +206,11 @@ missing combination Term
def f(e: Exp) = e match { // non-exhaustive warning here
^
-f: (Exp)Int
+f: (e: Exp)Int
scala>
scala>
-plusOne: (Int)Int
+plusOne: (x: Int)Int
res0: Int = 6
res0: java.lang.String = after reset
<console>:5: error: not found: value plusOne