summaryrefslogtreecommitdiff
path: root/test/files/neg/t5856.check
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2017-01-07 01:30:38 -0800
committerSom Snytt <som.snytt@gmail.com>2017-01-08 01:07:22 -0800
commit939abf1c7062f8be4f84854bb44a8e146d14a07f (patch)
treec8c1c917462c545626cfe1430677115f7a7c347a /test/files/neg/t5856.check
parent855492c928a795f175c6bb10ee6d4b23c871a123 (diff)
downloadscala-939abf1c7062f8be4f84854bb44a8e146d14a07f.tar.gz
scala-939abf1c7062f8be4f84854bb44a8e146d14a07f.tar.bz2
scala-939abf1c7062f8be4f84854bb44a8e146d14a07f.zip
SI-10120 Extra advice on unclosed char literal
Folks from other languages might mistakenly enclose a string in single quotes. Since this presents as a symbol literal followed by the unpaired single quote, we can add a syntax reminder. Also polish the wording for bad string interpolation.
Diffstat (limited to 'test/files/neg/t5856.check')
-rw-r--r--test/files/neg/t5856.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t5856.check b/test/files/neg/t5856.check
index 08a61bdc07..306cc04177 100644
--- a/test/files/neg/t5856.check
+++ b/test/files/neg/t5856.check
@@ -1,4 +1,4 @@
-t5856.scala:10: error: invalid string interpolation: `$$', `$'ident or `$'BlockExpr expected
+t5856.scala:10: error: invalid string interpolation $", expected: $$, $identifier or ${expression}
val s9 = s"$"
^
t5856.scala:10: error: unclosed string literal