summaryrefslogtreecommitdiff
path: root/test/files/run/t8610.check
blob: 077382fb1cf5d7458b6bf0efe4652746f8d32fd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
t8610.scala:4: warning: `$name` looks like an interpolated identifier! Did you forget the interpolator?
  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
           ^
Hi, $name