|
1 | 1 | tostring-interpolated.scala:7: error: interpolation uses toString
|
2 | 2 | Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=w-flag-tostring-interpolated, site=T.f
|
3 |
| - def f = f"$c" |
| 3 | + def f = f"$c" // warn |
4 | 4 | ^
|
5 | 5 | tostring-interpolated.scala:8: error: interpolation uses toString
|
6 | 6 | Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=w-flag-tostring-interpolated, site=T.s
|
7 |
| - def s = s"$c" |
| 7 | + def s = s"$c" // warn |
8 | 8 | ^
|
9 | 9 | tostring-interpolated.scala:9: error: interpolation uses toString
|
10 | 10 | Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=w-flag-tostring-interpolated, site=T.r
|
11 |
| - def r = raw"$c" |
| 11 | + def r = raw"$c" // warn |
12 | 12 | ^
|
13 | 13 | tostring-interpolated.scala:11: error: interpolation uses toString
|
14 | 14 | Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=w-flag-tostring-interpolated, site=T.format
|
15 |
| - def format = f"${c.x}%d in $c or $c%s" // warn using c.toString |
| 15 | + def format = f"${c.x}%d in $c or $c%s" // warn using c.toString // warn |
16 | 16 | ^
|
17 | 17 | tostring-interpolated.scala:11: error: interpolation uses toString
|
18 | 18 | Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=w-flag-tostring-interpolated, site=T.format
|
19 |
| - def format = f"${c.x}%d in $c or $c%s" // warn using c.toString |
| 19 | + def format = f"${c.x}%d in $c or $c%s" // warn using c.toString // warn |
20 | 20 | ^
|
21 | 21 | tostring-interpolated.scala:13: warning: Boolean format is null test for non-Boolean
|
22 | 22 | def bool = f"$c%b" // warn just a null check
|
23 | 23 | ^
|
24 | 24 | tostring-interpolated.scala:15: error: interpolation uses toString
|
25 | 25 | Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=w-flag-tostring-interpolated, site=T.oops
|
26 |
| - def oops = s"${null} slipped thru my fingers" |
| 26 | + def oops = s"${null} slipped thru my fingers" // warn |
27 | 27 | ^
|
28 | 28 | tostring-interpolated.scala:20: error: interpolation uses toString
|
29 | 29 | Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=w-flag-tostring-interpolated, site=T.greeting
|
30 |
| - def greeting = s"$sb, world" |
| 30 | + def greeting = s"$sb, world" // warn |
31 | 31 | ^
|
32 | 32 | 1 warning
|
33 | 33 | 7 errors
|
0 commit comments