summaryrefslogtreecommitdiff
path: root/test/files/neg/lubs.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/lubs.scala')
-rw-r--r--test/files/neg/lubs.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/lubs.scala b/test/files/neg/lubs.scala
index 3524fa4d87..639117f7bf 100644
--- a/test/files/neg/lubs.scala
+++ b/test/files/neg/lubs.scala
@@ -18,7 +18,7 @@ object test2 {
class D extends A { type T = D }
def f = if (1 == 2) new C else new D
-
+
val x1: A { type T } = f
val x2: A { type T >: Null <: A } = f
val x3: A { type T >: Null <: A { type T >: Null <: A } } = f