diff options
author | Paul Phillips <paulp@improving.org> | 2012-02-28 08:08:30 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-02-28 08:25:01 -0800 |
commit | f3711b634ccfa6ef4ab14ffc8d12d244de6917c2 (patch) | |
tree | e7ba70b582b23f787ab3d8f6fc2d5b146f8c58ab /test/files/neg/t960.check | |
parent | 0bcc8f8f92bbee772924813d00512f3765d4beee (diff) | |
download | scala-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.check | 4 |
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 |