summaryrefslogtreecommitdiff
path: root/test/files/pos/t2429.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t2429.scala')
-rwxr-xr-xtest/files/pos/t2429.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t2429.scala b/test/files/pos/t2429.scala
index 266baa3c2c..9b9cb89de7 100755
--- a/test/files/pos/t2429.scala
+++ b/test/files/pos/t2429.scala
@@ -19,3 +19,7 @@ object Msg {
} /*: Seq[T] Adding this type annotation avoids the compile error.*/)
}
}
+object Oops {
+ implicit def someImplicit(s: Seq[_]): String = error("stub")
+ def item: String = Nil map { case e: Any => e }
+}