summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
Diffstat (limited to 'test/files')
-rwxr-xr-xtest/files/pos/t2429.scala4
-rw-r--r--test/files/run/bitsets.check20
2 files changed, 14 insertions, 10 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 }
+}
diff --git a/test/files/run/bitsets.check b/test/files/run/bitsets.check
index 388535dcf5..478de261af 100644
--- a/test/files/run/bitsets.check
+++ b/test/files/run/bitsets.check
@@ -1,6 +1,6 @@
-ms0 = Set(2)
-ms1 = Set(2)
-ms2 = Set(2)
+ms0 = BitSet(2)
+ms1 = BitSet(2)
+ms2 = BitSet(2)
mb0 = false
mb1 = true
mb2 = false
@@ -10,14 +10,14 @@ xs2 = List(2)
ma0 = List(2)
ma1 = List(2)
ma2 = List(2)
-mi0 = Set(2)
-mi1 = Set(2)
-mi2 = Set(2)
+mi0 = BitSet(2)
+mi1 = BitSet(2)
+mi2 = BitSet(2)
-is0 = Set()
-is1 = Set()
-is2 = Set(2)
-is3 = Set()
+is0 = BitSet()
+is1 = BitSet()
+is2 = BitSet(2)
+is3 = BitSet()
ib0 = false
ib1 = false
ib2 = true