summaryrefslogtreecommitdiff
path: root/test/files/run/t7319.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-05-21 09:28:42 +0200
committerJason Zaugg <jzaugg@gmail.com>2013-05-21 09:28:42 +0200
commitd64de5bd1ec6a58e7f7395dc3c9e96613b523d23 (patch)
treec0110af7456a652ccc6501e3d23e4a5bcf84282b /test/files/run/t7319.check
parent085b4d9bdb7ba9f9fe00c63e998e93278a34b161 (diff)
downloadscala-d64de5bd1ec6a58e7f7395dc3c9e96613b523d23.tar.gz
scala-d64de5bd1ec6a58e7f7395dc3c9e96613b523d23.tar.bz2
scala-d64de5bd1ec6a58e7f7395dc3c9e96613b523d23.zip
SI-7499 Additional test case for SI-7319
From a duplicate ticket.
Diffstat (limited to 'test/files/run/t7319.check')
-rw-r--r--test/files/run/t7319.check9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/files/run/t7319.check b/test/files/run/t7319.check
index 966736915e..b5081f2d00 100644
--- a/test/files/run/t7319.check
+++ b/test/files/run/t7319.check
@@ -32,7 +32,14 @@ argument expression's type is not compatible with formal parameter type;
convert(Some[Int](0))
^
+scala> Range(1,2).toArray: Seq[_]
+<console>:11: error: polymorphic expression cannot be instantiated to expected type;
+ found : [B >: Int]Array[B]
+ required: Seq[_]
+ Range(1,2).toArray: Seq[_]
+ ^
+
scala> 0
-res1: Int = 0
+res2: Int = 0
scala>