aboutsummaryrefslogtreecommitdiff
path: root/tests/run/generic/List.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/generic/List.scala')
-rw-r--r--tests/run/generic/List.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/generic/List.scala b/tests/run/generic/List.scala
index 3f3657656..bc01ce63f 100644
--- a/tests/run/generic/List.scala
+++ b/tests/run/generic/List.scala
@@ -46,7 +46,7 @@ object List0 {
}
}
-/** enum List[T] {
+/** enum List[+T] {
* case Cons(x: T, xs: List[T])
* case Nil extends List[Nothing]
* }