summaryrefslogblamecommitdiff
path: root/test/files/neg/t8015-ffb.check
blob: 9b2171ea471a6cfa6ed2cfbf8958be802d6565ee (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\u000c() }       // ^L is colored blue on this screen, hardly visible
      ^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found