diff options
Diffstat (limited to 'test/files/neg/bug960.check')
-rw-r--r-- | test/files/neg/bug960.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/bug960.check b/test/files/neg/bug960.check new file mode 100644 index 0000000000..7929176c87 --- /dev/null +++ b/test/files/neg/bug960.check @@ -0,0 +1,7 @@ +bug960.scala:18: error: cannot resolve overloaded unapply + case List(x, xs) => 7
+ ^ +bug960.scala:12: error: method unapply is defined twice + def unapply[a](xs: List[a]): Option[Null] = xs match {
+ ^ +two errors found |