summaryrefslogtreecommitdiff
path: root/test/files/pos/t5809.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-10-30 14:29:14 -0700
committerAdriaan Moors <adriaan.moors@epfl.ch>2012-11-01 18:50:43 -0700
commitd0c4be6861109683d80513eda74e5c6ca88f1441 (patch)
treef0604d9f71cd0807e6a5a6351535a78ac18ddefc /test/files/pos/t5809.scala
parenta70c8219220b637072b52fc834439d90f0cf5b38 (diff)
downloadscala-d0c4be6861109683d80513eda74e5c6ca88f1441.tar.gz
scala-d0c4be6861109683d80513eda74e5c6ca88f1441.tar.bz2
scala-d0c4be6861109683d80513eda74e5c6ca88f1441.zip
Warn about unused private members.
Warnings enabled via -Xlint. It's one of the most requested features. And it is hard to argue we don't need it: see the 99 methods removed in the next commit. This should close SI-440.
Diffstat (limited to 'test/files/pos/t5809.scala')
-rw-r--r--test/files/pos/t5809.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/pos/t5809.scala b/test/files/pos/t5809.scala
index 133e13c4ed..4bcd743faa 100644
--- a/test/files/pos/t5809.scala
+++ b/test/files/pos/t5809.scala
@@ -1,5 +1,6 @@
package object foo {
implicit class PimpedInt(foo: Int) {
def bar = ???
+ def bippy = foo
}
-} \ No newline at end of file
+}