diff options
Diffstat (limited to 'test/files/pos/t1107')
-rw-r--r-- | test/files/pos/t1107/O.scala | 4 | ||||
-rw-r--r-- | test/files/pos/t1107/T.scala | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/files/pos/t1107/O.scala b/test/files/pos/t1107/O.scala index 0198867704..aa605a6d09 100644 --- a/test/files/pos/t1107/O.scala +++ b/test/files/pos/t1107/O.scala @@ -4,10 +4,10 @@ object O case s: Sub => true case _ => false } - + def main(args: Array[String]): Unit = { val c = new AnyRef with C c.bob.toString + c.bob2.toString - } + } } diff --git a/test/files/pos/t1107/T.scala b/test/files/pos/t1107/T.scala index 0dff0b94fd..1f3712d529 100644 --- a/test/files/pos/t1107/T.scala +++ b/test/files/pos/t1107/T.scala @@ -1,6 +1,6 @@ sealed trait Top sealed trait Sub extends Top -trait C { +trait C { private object P extends Sub def bob() = P.getClass def bob2() = O.d(P) |