aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/lookuprefined.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/lookuprefined.scala')
-rw-r--r--tests/pos/lookuprefined.scala6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/pos/lookuprefined.scala b/tests/pos/lookuprefined.scala
index f7e7f7337..9dd2b4abb 100644
--- a/tests/pos/lookuprefined.scala
+++ b/tests/pos/lookuprefined.scala
@@ -2,7 +2,9 @@ class C { type T; type U }
trait Test {
- val x: (C { type U = T } { type T = String }) # U
- val y: String = x
+ val x1: (C { type U = T; type T = String }) # U
+ val x2: (C { type U = T } {type T = String }) # U
+ val y1: String = x1
+ val y2: String = x2
}