diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/t7848-interp-warn.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/neg/t7848-interp-warn.scala b/test/files/neg/t7848-interp-warn.scala index 6a289b2b71..635dd48c27 100644 --- a/test/files/neg/t7848-interp-warn.scala +++ b/test/files/neg/t7848-interp-warn.scala @@ -25,4 +25,6 @@ object Test { def i = s"Try using '${ "$bar" }' instead." // was: no warn on space test def j = s"Try using '${ "something like $bar" }' instead." // warn def k = f"Try using '$bar' instead." // no warn on other std interps + def p = "Template ${} {}" // no warn on unlikely or empty expressions + def q = "${}$bar" // disables subsequent checks! } |