summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
Diffstat (limited to 'test/files')
-rw-r--r--test/files/neg/t2462a.check2
-rw-r--r--test/files/neg/t2462b.check6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/files/neg/t2462a.check b/test/files/neg/t2462a.check
index b609ec519f..040a01f3a1 100644
--- a/test/files/neg/t2462a.check
+++ b/test/files/neg/t2462a.check
@@ -1,4 +1,4 @@
-implicitNotFound.scala:2: error: Cannot construct a collection of type List[String] with elements of type Int based on a collection of type List[String].
+t2462a.scala:2: error: Cannot construct a collection of type List[String] with elements of type Int based on a collection of type List[String].
List(1,2,3).map[Int, List[String]](x => 1)
^
one error found
diff --git a/test/files/neg/t2462b.check b/test/files/neg/t2462b.check
index ac9563878c..bc0d9aa469 100644
--- a/test/files/neg/t2462b.check
+++ b/test/files/neg/t2462b.check
@@ -1,12 +1,12 @@
-implicitNotFound_syntax.scala:6: warning: Invalid implicitNotFound message for trait Meh in package test:
+t2462b.scala:6: warning: Invalid implicitNotFound message for trait Meh in package test:
The type parameters Too, Elem referenced in the message of the @implicitNotFound annotation are not defined by trait Meh.
trait Meh[-From, +To]
^
-implicitNotFound_syntax.scala:9: warning: Invalid implicitNotFound message for trait Meh2 in package test:
+t2462b.scala:9: warning: Invalid implicitNotFound message for trait Meh2 in package test:
The type parameter Elem referenced in the message of the @implicitNotFound annotation is not defined by trait Meh2.
trait Meh2[-From, +To]
^
-implicitNotFound_syntax.scala:12: error: overriding method x in class thankyoupartest of type => Int;
+t2462b.scala:12: error: overriding method x in class thankyoupartest of type => Int;
method x needs `override' modifier
class testmustfail extends thankyoupartest { def x = 43 }
^