diff options
Diffstat (limited to 'tests/pos/t1053.scala')
-rw-r--r-- | tests/pos/t1053.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/pos/t1053.scala b/tests/pos/t1053.scala index 1d4dfb637..2c5dc1d5a 100644 --- a/tests/pos/t1053.scala +++ b/tests/pos/t1053.scala @@ -1,6 +1,7 @@ trait T[A] { trait U { type W = A; val x = 3 } } +trait Base { type V } object Test { - val x : ({ type V = T[this.type] })#V = null + val x : (Base { type V = T[this.type] })#V = null val y = new x.U { } } |