summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/bug876.check2
-rw-r--r--test/files/neg/t2031.check2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/bug876.check b/test/files/neg/bug876.check
index e4be7e3351..85522423a8 100644
--- a/test/files/neg/bug876.check
+++ b/test/files/neg/bug876.check
@@ -1,4 +1,4 @@
-bug876.scala:25: error: too many arguments for method apply: (key: AssertionError.A)manager.B in trait MapTemplate
+bug876.scala:25: error: too many arguments for method apply: (key: AssertionError.A)manager.B in trait MapLike
assert(manager.map(A2) == List(manager.map(A2, A1)))
^
one error found
diff --git a/test/files/neg/t2031.check b/test/files/neg/t2031.check
index 6fd70143eb..1e58fd795c 100644
--- a/test/files/neg/t2031.check
+++ b/test/files/neg/t2031.check
@@ -1,5 +1,5 @@
t2031.scala:8: error: polymorphic expression cannot be instantiated to expected type;
- found : [A]scala.collection.generic.Builder[A,scala.collection.immutable.TreeSet[A]]
+ found : [A]scala.collection.mutable.Builder[A,scala.collection.immutable.TreeSet[A]]
required: scala.collection.generic.BuilderFactory[Int,?,scala.collection.immutable.TreeSet[Int]]
res0.map(x => x)(TreeSet.newBuilder)
^