aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/hk.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/hk.scala')
-rw-r--r--tests/pos/hk.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pos/hk.scala b/tests/pos/hk.scala
index 9fdaf94f6..a8f2aa597 100644
--- a/tests/pos/hk.scala
+++ b/tests/pos/hk.scala
@@ -31,7 +31,7 @@ object higherKinded {
}
class Ident[-T >: Untyped] extends Tree[T] {
- type ThisType[-U] = Ident[U]
+ type ThisType[-U >: Untyped] = Ident[U]
}
val id = new Ident[Integer]