diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-01-31 11:05:03 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-01-31 11:05:03 -0800 |
commit | a6f2704619a1f724693b456dadcb1836e2f71328 (patch) | |
tree | 5514e2d6c09633fd2a47b080971877ff666e5ed7 /test/files/run | |
parent | f59aeb58681d1dba8d32886de4785f6fb8dc9eff (diff) | |
parent | 2524fdde3edc7b668fdb4bf68e990141d3ec18d6 (diff) | |
download | scala-a6f2704619a1f724693b456dadcb1836e2f71328.tar.gz scala-a6f2704619a1f724693b456dadcb1836e2f71328.tar.bz2 scala-a6f2704619a1f724693b456dadcb1836e2f71328.zip |
Merge pull request #3357 from retronym/ticket/8143
SI-8143 Regressions with override checks, private members
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/private-override.scala | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test/files/run/private-override.scala b/test/files/run/private-override.scala deleted file mode 100644 index 0a3f57f97c..0000000000 --- a/test/files/run/private-override.scala +++ /dev/null @@ -1,17 +0,0 @@ -package test.p1.p2 { - abstract class A { - private[p2] def f2(): Int = 1 - } - abstract class Other extends A { - // It's a private method - not a private[p2] method. Not a failed - // "weaker access privileges" override, a different namespace. - private def f2(): Int = super.f2() + 2 - def go() = f2() - } -} - -object Test extends test.p1.p2.Other { - def main(args: Array[String]): Unit = { - println(go()) - } -} |