summaryrefslogtreecommitdiff
path: root/test/files/pos/t1048.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t1048.scala')
-rw-r--r--test/files/pos/t1048.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/pos/t1048.scala b/test/files/pos/t1048.scala
index ce57e72391..cd16db5b60 100644
--- a/test/files/pos/t1048.scala
+++ b/test/files/pos/t1048.scala
@@ -1,7 +1,7 @@
trait T[U] {
def x: T[V] forSome { type V <: U }
}
-
+
object T {
def unapply[U](t: T[U]): Option[T[V] forSome { type V <: U }] = Some(t.x)
}
@@ -12,4 +12,3 @@ object Test {
}
}
-