diff options
Diffstat (limited to 'test/files/pos/t1210a.scala')
-rw-r--r-- | test/files/pos/t1210a.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/t1210a.scala b/test/files/pos/t1210a.scala index fbb0a611d6..b3492f96e4 100644 --- a/test/files/pos/t1210a.scala +++ b/test/files/pos/t1210a.scala @@ -1,9 +1,9 @@ // both styles of abstraction should behave the same // related to 1210 because that bug broke the OO version below -trait OO { +trait OO { abstract class Test { self => type T - + val v: Test {type T = self.T} = self.v.v } } |