summaryrefslogtreecommitdiff
path: root/test/files/neg/implicits.check
diff options
context:
space:
mode:
authorSzabolcs Berecz <szabolcs.berecz@gmail.com>2012-02-21 21:38:50 +0100
committerSzabolcs Berecz <szabolcs.berecz@gmail.com>2012-02-21 21:38:50 +0100
commitb7328591473aa2053c093beac71a526639ae0080 (patch)
tree5548e972ae80395dbbe2351433eed4f1eeff1b21 /test/files/neg/implicits.check
parentfbb7865e137e83660257fdc79d19d29ff39c775b (diff)
downloadscala-b7328591473aa2053c093beac71a526639ae0080.tar.gz
scala-b7328591473aa2053c093beac71a526639ae0080.tar.bz2
scala-b7328591473aa2053c093beac71a526639ae0080.zip
Test for SI-5316
Compiler NPE on 2.9.1 when implicit parameter not found
Diffstat (limited to 'test/files/neg/implicits.check')
-rw-r--r--test/files/neg/implicits.check5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/neg/implicits.check b/test/files/neg/implicits.check
index cd9dfebf48..6d61f7f222 100644
--- a/test/files/neg/implicits.check
+++ b/test/files/neg/implicits.check
@@ -8,4 +8,7 @@ implicits.scala:46: error: type mismatch;
required: List[Mxml]
children.toList.flatMap ( e => {
^
-two errors found
+implicits.scala:66: error: could not find implicit value for parameter x: Nothing
+ foo {
+ ^
+three errors found