summaryrefslogtreecommitdiff
path: root/test/files/neg/accesses.check
diff options
context:
space:
mode:
authorAntonio Cunei <antonio.cunei@epfl.ch>2008-11-25 18:05:48 +0000
committerAntonio Cunei <antonio.cunei@epfl.ch>2008-11-25 18:05:48 +0000
commitaf47e5b433ea538bf096a176c88f3c91116e09cd (patch)
treeb3e66e93fb653570ebbef16183cf4f2be2111c12 /test/files/neg/accesses.check
parent2d61f09332dbc6038f869c6a23a95dca1bc3b6c7 (diff)
downloadscala-af47e5b433ea538bf096a176c88f3c91116e09cd.tar.gz
scala-af47e5b433ea538bf096a176c88f3c91116e09cd.tar.bz2
scala-af47e5b433ea538bf096a176c88f3c91116e09cd.zip
Merging everything from the 2.8.x development b...
Merging everything from the 2.8.x development branch back to trunk. - If you were working on trunk, please keep working on trunk If you were - working on 2.8-devel, please switch to trunk now
Diffstat (limited to 'test/files/neg/accesses.check')
-rw-r--r--test/files/neg/accesses.check8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/neg/accesses.check b/test/files/neg/accesses.check
index 627c17dd90..94fcd615bc 100644
--- a/test/files/neg/accesses.check
+++ b/test/files/neg/accesses.check
@@ -1,16 +1,16 @@
-accesses.scala:23: error: error overriding method f2 in class A of type => Unit;
+accesses.scala:23: error: overriding method f2 in class A of type => Unit;
method f2 has weaker access privileges; it should not be private
private def f2: Unit = ()
^
-accesses.scala:24: error: error overriding method f3 in class A of type => Unit;
+accesses.scala:24: error: overriding method f3 in class A of type => Unit;
method f3 has weaker access privileges; it should be at least protected
private[p2] def f3: Unit = ()
^
-accesses.scala:25: error: error overriding method f4 in class A of type => Unit;
+accesses.scala:25: error: overriding method f4 in class A of type => Unit;
method f4 has weaker access privileges; it should be at least private[p1]
private[p2] def f4: Unit
^
-accesses.scala:26: error: error overriding method f5 in class A of type => Unit;
+accesses.scala:26: error: overriding method f5 in class A of type => Unit;
method f5 has weaker access privileges; it should be at least protected[p1]
protected[p2] def f5: Unit
^