summaryrefslogtreecommitdiff
path: root/test/files/run/t8610.check
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2014-07-01 08:21:07 -0700
committerSom Snytt <som.snytt@gmail.com>2014-07-10 09:27:51 -0700
commit3b89c168b4926139f7295183fdc1903f6f553798 (patch)
tree640f0672a1deadf6d3b7e57383be6432165a551f /test/files/run/t8610.check
parent44855dcd3c2e19d5dbaf01b2165ea8dc9fb287d3 (diff)
downloadscala-3b89c168b4926139f7295183fdc1903f6f553798.tar.gz
scala-3b89c168b4926139f7295183fdc1903f6f553798.tar.bz2
scala-3b89c168b4926139f7295183fdc1903f6f553798.zip
SI-8525 No anonymous lint
Turn anonymous references to `settings.lint` into named settings. After that, trust to Adriaan to make them filterable. There are a few remaining top-level -Y lint warnings that are deprecated.
Diffstat (limited to 'test/files/run/t8610.check')
-rw-r--r--test/files/run/t8610.check3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/t8610.check b/test/files/run/t8610.check
index 0e0dfc2cd3..fde82d5109 100644
--- a/test/files/run/t8610.check
+++ b/test/files/run/t8610.check
@@ -7,4 +7,7 @@ t8610.scala:6: warning: Adapting argument list by creating a 2-tuple: this may n
after adaptation: X.f((3, 4): (Int, Int))
def g = f(3, 4) // adapted
^
+t8610.scala:7: warning: side-effecting nullary methods are discouraged: suggest defining as `def u()` instead
+ def u: Unit = () // unitarian universalist
+ ^
Hi, $name