summaryrefslogtreecommitdiff
path: root/test/files/pos/viewtest2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/viewtest2.scala')
-rw-r--r--test/files/pos/viewtest2.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/viewtest2.scala b/test/files/pos/viewtest2.scala
index c7c0408ef2..321f5d7712 100644
--- a/test/files/pos/viewtest2.scala
+++ b/test/files/pos/viewtest2.scala
@@ -56,7 +56,7 @@ object O {
}
}
-trait Tree[+a <% Ordered[a]] {
+abstract class Tree[+a <% Ordered[a]] {
def insert[b >: a <% Ordered[b]](x: b): Tree[b]
def elements: List[a]
}