summaryrefslogtreecommitdiff
path: root/test/files/pos/t4266.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t4266.scala')
-rw-r--r--test/files/pos/t4266.scala12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/files/pos/t4266.scala b/test/files/pos/t4266.scala
index 222f65e970..301cc264bc 100644
--- a/test/files/pos/t4266.scala
+++ b/test/files/pos/t4266.scala
@@ -1,21 +1,21 @@
object Test {
-
+
trait Tensor2Like[
- @specialized(Int) A1,
- +D1 <: DomainLike[A1],
+ @specialized(Int) A1,
+ +D1 <: DomainLike[A1],
+D <: Product2DomainLike[D1]
] {
def domain: D;
-
+
def checkKey(k1: A1) {
domain._1.contains(k1)
}
}
-
+
trait DomainLike[A] {
def contains(key: A): Boolean;
}
-
+
// trait DomainLike[@specialized(Int) A] {
// def contains(key: A): Boolean;
// }