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








                                                                                                                 
t8610-arg.scala:3: warning: `$name` looks like an interpolated identifier! Did you forget the interpolator?
  def x = "Hi, $name"   // missing interp
          ^
t8610-arg.scala:6: 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.
two warnings found
one error found