summaryrefslogblamecommitdiff
path: root/test/files/neg/t8610-arg.check
blob: d6fe2071191f49e307338ad30b281e3d55fd0db9 (plain) (tree)
1
2
3
4
5
6
                                                                                                                 


                                                          
                 
               
t8610-arg.scala:8: warning: side-effecting nullary methods are discouraged: suggest defining as `def u()` instead
  def u: Unit = ()      // unitarian universalist
      ^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found