summaryrefslogblamecommitdiff
path: root/test/files/neg/t8015-ffb.check
blob: 90c8d045b4e85afe3d0e11cb8e8c1c0303fc9eee (plain) (tree)
1
2
3
4
5
6





                                                                                                                  
t8015-ffb.scala:10: warning: side-effecting nullary methods are discouraged: suggest defining as `def w()` instead
  def w = { x
      ^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found