summaryrefslogtreecommitdiff
path: root/test/files/neg/abstract-inaccessible.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/abstract-inaccessible.check')
-rw-r--r--test/files/neg/abstract-inaccessible.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/abstract-inaccessible.check b/test/files/neg/abstract-inaccessible.check
index d56f5691be..739620a4ce 100644
--- a/test/files/neg/abstract-inaccessible.check
+++ b/test/files/neg/abstract-inaccessible.check
@@ -8,7 +8,7 @@ Classes which cannot access Bippy may be unable to override overrideMe.
^
abstract-inaccessible.scala:7: warning: method overrideMeAlso in trait YourTrait references private[foo] trait Bippy.
Classes which cannot access Bippy may be unable to override overrideMeAlso.
- def overrideMeAlso(x: Map[Int, Set[Bippy]]) = 5
+ def overrideMeAlso(x: Map[Int, Set[Bippy]]) = x.keys.head
^
error: No warnings can be incurred under -Xfatal-warnings.
three warnings found