aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t2693.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t2693.scala')
-rw-r--r--tests/pos/t2693.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pos/t2693.scala b/tests/pos/t2693.scala
index 5d4d0380c..537e6d8ab 100644
--- a/tests/pos/t2693.scala
+++ b/tests/pos/t2693.scala
@@ -1,6 +1,6 @@
class A {
- trait T[A]
+ trait Tr[A]
def usetHk[T[_], A](ta: T[A]) = 0
- usetHk(new T[Int]{}: T[Int])
- usetHk(new T[Int]{}) // fails with: found: java.lang.Object with T[Int], required: ?T[ ?A ]
+ usetHk(new Tr[Int]{}: Tr[Int])
+ usetHk(new Tr[Int]{}) // fails with: found: java.lang.Object with T[Int], required: ?T[ ?A ]
}