summaryrefslogtreecommitdiff
path: root/test/files/run/t9206.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@typesafe.com>2015-08-24 11:36:36 +0200
committerLukas Rytz <lukas.rytz@typesafe.com>2015-08-24 11:36:36 +0200
commit3a543d64158e85b65f8998460c832362bdddec4f (patch)
tree665fc16d4932a6d8625fe28ae87c100bb1ee96c1 /test/files/run/t9206.scala
parentcd77e23b76af8538ed7e2c5c90e7845582dff460 (diff)
parentded2d4f2e613aad6670b3e5dccbab0feb711b18b (diff)
downloadscala-3a543d64158e85b65f8998460c832362bdddec4f.tar.gz
scala-3a543d64158e85b65f8998460c832362bdddec4f.tar.bz2
scala-3a543d64158e85b65f8998460c832362bdddec4f.zip
Merge pull request #4700 from SethTisue/merge-2.11.x-aug-20
Merge 2.11.x aug 20 [ci: last-only]
Diffstat (limited to 'test/files/run/t9206.scala')
-rw-r--r--test/files/run/t9206.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t9206.scala b/test/files/run/t9206.scala
index 872c980fe4..406798104e 100644
--- a/test/files/run/t9206.scala
+++ b/test/files/run/t9206.scala
@@ -7,14 +7,14 @@ object Test extends SessionTest {
def session =
s"""|
|scala> val i: Int = "foo"
- |<console>:10: error: type mismatch;
+ |<console>:11: error: type mismatch;
| found : String("foo")
| required: Int
| val i: Int = "foo"
| ^
|
|scala> { val j = 42 ; val i: Int = "foo" + j }
- |<console>:11: error: type mismatch;
+ |<console>:12: error: type mismatch;
| found : String
| required: Int
| { val j = 42 ; val i: Int = "foo" + j }