summaryrefslogtreecommitdiff
path: root/test/files/run/t8610.check
blob: fde82d5109dc7e1add7e5bdb9cf0fe5a3ab94f25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
t8610.scala:4: warning: possible missing interpolator: detected interpolated identifier `$name`
  def x = "Hi, $name"   // missing interp
          ^
t8610.scala:6: warning: Adapting argument list by creating a 2-tuple: this may not be what you want.
        signature: X.f(p: (Int, Int)): Int
  given arguments: 3, 4
 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