summaryrefslogtreecommitdiff
path: root/test/files/neg/abstract-inaccessible.check
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2017-04-10 14:34:51 -0500
committerGitHub <noreply@github.com>2017-04-10 14:34:51 -0500
commit15e2759f49a3ef0f71290f4bbd9839cbf2346b0e (patch)
treea809f665e61208cb7e8ae098c676e80f341a68ed /test/files/neg/abstract-inaccessible.check
parent715c88e9b74d1b4d1d0c4da9d0cc8f1b740e2dd3 (diff)
parentbad61ce0ff9f460c2f8873c134a7f6bee0a53824 (diff)
downloadscala-15e2759f49a3ef0f71290f4bbd9839cbf2346b0e.tar.gz
scala-15e2759f49a3ef0f71290f4bbd9839cbf2346b0e.tar.bz2
scala-15e2759f49a3ef0f71290f4bbd9839cbf2346b0e.zip
Merge pull request #5402 from som-snytt/issue/8040-unused
SI-8040 Improve unused warnings
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