blob: f6de4d7b3adcd105e2d3325e9f1a80419bac9e16 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
forgot-interpolator.scala:4: warning: looks like an interpolated String; did you forget the interpolator?
def f = "Put the $bippy in the $bippy!" // warn
^
forgot-interpolator.scala:14: warning: looks like an interpolated String; did you forget the interpolator?
def f = """Put the ${println("bippy")} in the bippy!""" // warn
^
error: No warnings can be incurred under -Xfatal-warnings.
two warnings found
one error found
|