summaryrefslogtreecommitdiff
path: root/test/files/jvm/interpreter.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/interpreter.check')
-rw-r--r--test/files/jvm/interpreter.check12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/files/jvm/interpreter.check b/test/files/jvm/interpreter.check
index 6c89318470..b74ba1be0a 100644
--- a/test/files/jvm/interpreter.check
+++ b/test/files/jvm/interpreter.check
@@ -19,7 +19,7 @@ scala> defined type alias anotherint
scala> four: anotherint = 4
-scala> <console>:5: error: type mismatch;
+scala> <console>:6: error: type mismatch;
found : java.lang.String("hello")
required: anotherint
val bogus: anotherint = "hello"
@@ -169,7 +169,7 @@ scala> res4: Array[_] = Array(2)
scala> res5: Array[java.lang.String] = Array(abc, abc)
-scala> res6: scala.collection.mutable.GenericArray[_] = GenericArray(1, 2)
+scala> res6: scala.collection.mutable.ArraySeq[_] = ArraySeq(1, 2)
scala> res7: Array[(_$1, _$1)] forSome { type _$1 } = Array((1,1), (2,2))
@@ -217,9 +217,9 @@ scala> defined class Exp
defined class Fact
defined class Term
-scala> | | <console>:15: warning: match is not exhaustive!
-missing combination Term
+scala> | | <console>:16: warning: match is not exhaustive!
missing combination Exp
+missing combination Term
def f(e: Exp) = e match { // non-exhaustive warning here
^
@@ -229,7 +229,7 @@ scala>
scala>
plusOne: (x: Int)Int
res0: Int = 6
-res0: java.lang.String = after reset
-<console>:5: error: not found: value plusOne
+res1: java.lang.String = after reset
+<console>:6: error: not found: value plusOne
plusOne(5) // should be undefined now
^