summaryrefslogtreecommitdiff
path: root/test/files/neg/t960.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-02-28 08:08:30 -0800
committerPaul Phillips <paulp@improving.org>2012-02-28 08:25:01 -0800
commitf3711b634ccfa6ef4ab14ffc8d12d244de6917c2 (patch)
treee7ba70b582b23f787ab3d8f6fc2d5b146f8c58ab /test/files/neg/t960.check
parent0bcc8f8f92bbee772924813d00512f3765d4beee (diff)
downloadscala-f3711b634ccfa6ef4ab14ffc8d12d244de6917c2.tar.gz
scala-f3711b634ccfa6ef4ab14ffc8d12d244de6917c2.tar.bz2
scala-f3711b634ccfa6ef4ab14ffc8d12d244de6917c2.zip
Improving error message.
Hacked filename into message to alleviate meaningless "_$1 defined twice" error condition. References SI-4893.
Diffstat (limited to 'test/files/neg/t960.check')
-rw-r--r--test/files/neg/t960.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t960.check b/test/files/neg/t960.check
index 4cc76d3602..603b1cb032 100644
--- a/test/files/neg/t960.check
+++ b/test/files/neg/t960.check
@@ -7,7 +7,7 @@ match argument types (List[a])
t960.scala:22: error: cannot resolve overloaded unapply
case List(x, xs) => 7
^
-t960.scala:12: error: method unapply is defined twice
+t960.scala:12: error: method unapply is defined twice in t960.scala
def unapply[a](xs: List[a]): Option[Null] = xs match {
^
-three errors found \ No newline at end of file
+three errors found