diff options
author | Paul Phillips <paulp@improving.org> | 2012-10-30 14:29:14 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-11-01 18:50:43 -0700 |
commit | d0c4be6861109683d80513eda74e5c6ca88f1441 (patch) | |
tree | f0604d9f71cd0807e6a5a6351535a78ac18ddefc /test/files/pos/t5809.scala | |
parent | a70c8219220b637072b52fc834439d90f0cf5b38 (diff) | |
download | scala-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.scala | 3 |
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 +} |