summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2015-08-20 16:06:13 -0400
committerSeth Tisue <seth@tisue.net>2015-08-20 16:15:17 -0400
commitded2d4f2e613aad6670b3e5dccbab0feb711b18b (patch)
tree665fc16d4932a6d8625fe28ae87c100bb1ee96c1 /test/files/jvm
parentcd77e23b76af8538ed7e2c5c90e7845582dff460 (diff)
parenta77e34e4b1ed445368b8412dbbf07340554afd57 (diff)
downloadscala-ded2d4f2e613aad6670b3e5dccbab0feb711b18b.tar.gz
scala-ded2d4f2e613aad6670b3e5dccbab0feb711b18b.tar.bz2
scala-ded2d4f2e613aad6670b3e5dccbab0feb711b18b.zip
Merge remote-tracking branch 'origin/2.11.x' into 2.12.x
all conflicts were because the changes changed code that doesn't exist anymore in 2.12; they were resolved with `git checkout --ours` c201eac changed bincompat-forward.whitelist.conf but I dropped the change in this merge because it refers to AbstractPromise which no longer exists in 2.12
Diffstat (limited to 'test/files/jvm')
-rw-r--r--test/files/jvm/interpreter.check6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/jvm/interpreter.check b/test/files/jvm/interpreter.check
index 08372685d6..ce3c8062d7 100644
--- a/test/files/jvm/interpreter.check
+++ b/test/files/jvm/interpreter.check
@@ -30,7 +30,7 @@ scala> val four: anotherint = 4
four: anotherint = 4
scala> val bogus: anotherint = "hello"
-<console>:11: error: type mismatch;
+<console>:12: error: type mismatch;
found : String("hello")
required: anotherint
(which expands to) Int
@@ -353,7 +353,7 @@ defined class Term
scala> def f(e: Exp) = e match { // non-exhaustive warning here
case _:Fact => 3
}
-<console>:21: warning: match may not be exhaustive.
+<console>:22: warning: match may not be exhaustive.
It would fail on the following inputs: Exp(), Term()
def f(e: Exp) = e match { // non-exhaustive warning here
^
@@ -363,6 +363,6 @@ scala> :quit
plusOne: (x: Int)Int
res0: Int = 6
res0: String = after reset
-<console>:11: error: not found: value plusOne
+<console>:12: error: not found: value plusOne
plusOne(5) // should be undefined now
^