summaryrefslogtreecommitdiff
path: root/src/library/scala/List.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/List.scala')
-rw-r--r--src/library/scala/List.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/List.scala b/src/library/scala/List.scala
index 23667f68d7..287d552e34 100644
--- a/src/library/scala/List.scala
+++ b/src/library/scala/List.scala
@@ -442,7 +442,7 @@ object List {
* @author Martin Odersky and others
* @version 1.0, 16/07/2003
*/
-sealed abstract class List[+A] extends Seq[A] {
+sealed abstract class List[+A] extends Seq[A] with Product {
/** Returns true if the list does not contain any elements.
* @return <code>true</code>, iff the list is empty.