summaryrefslogtreecommitdiff
path: root/test/files/neg/forgot-interpolator.scala
blob: d67db82643be796ea22141e6971da226d6e714d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class A {
  val bippy = 123

  def f = "Put the $bippy in the $bippy!" // warn
}

class B {
  val dingus = 123

  def f = "Put the $bippy in the $bippy!" // no warn
}

class C {
  def f = """Put the ${println("bippy")} in the bippy!""" // warn
}