summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-10-28 12:22:24 -0700
committerPaul Phillips <paulp@improving.org>2012-11-09 16:47:52 -0700
commitf56f9a3c4b7b9903c732658f052be1172dfd9baa (patch)
treef8f287398bc78129d11be9ba254ebff6260de480 /test/files
parent45c2d7f1dab5cb6a4afdac5e1d3f3d5caad86b62 (diff)
downloadscala-f56f9a3c4b7b9903c732658f052be1172dfd9baa.tar.gz
scala-f56f9a3c4b7b9903c732658f052be1172dfd9baa.tar.bz2
scala-f56f9a3c4b7b9903c732658f052be1172dfd9baa.zip
Massively simplified repl name resolution.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/jvm/interpreter.check2
-rw-r--r--test/files/run/repl-colon-type.check2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/interpreter.check b/test/files/jvm/interpreter.check
index 6145b6c4d2..891ed36028 100644
--- a/test/files/jvm/interpreter.check
+++ b/test/files/jvm/interpreter.check
@@ -357,7 +357,7 @@ defined class Term
scala> def f(e: Exp) = e match { // non-exhaustive warning here
case _:Fact => 3
}
-<console>:18: warning: match is not exhaustive!
+<console>:16: warning: match is not exhaustive!
missing combination Exp
missing combination Term
diff --git a/test/files/run/repl-colon-type.check b/test/files/run/repl-colon-type.check
index 35cd04ba87..2e8ce8c801 100644
--- a/test/files/run/repl-colon-type.check
+++ b/test/files/run/repl-colon-type.check
@@ -52,7 +52,7 @@ scala> :type protected lazy val f = 5
Access to protected value f not permitted because
enclosing object $eval in package $line19 is not a subclass of
object $iw where target is defined
- lazy val $result = `f`
+ lazy val $result = f
^