diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-15 16:04:57 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-15 16:04:57 -0800 |
commit | 00d19344b0c19a2999e48c6bd9326b94c7b54346 (patch) | |
tree | 3907923f893ed21c82ae6885f7866644f369a909 /test/files/neg/t8266-invalid-interp.check | |
parent | 81e12bdb26b75e0a8c289662d02cc6551268f7d3 (diff) | |
parent | ff4cfd575a9b731adc60582de447fafb5303eb49 (diff) | |
download | scala-00d19344b0c19a2999e48c6bd9326b94c7b54346.tar.gz scala-00d19344b0c19a2999e48c6bd9326b94c7b54346.tar.bz2 scala-00d19344b0c19a2999e48c6bd9326b94c7b54346.zip |
Merge pull request #3511 from som-snytt/issue/interp-octal
SI-8266 Deprecate octal escapes in f-interpolator
Diffstat (limited to 'test/files/neg/t8266-invalid-interp.check')
-rw-r--r-- | test/files/neg/t8266-invalid-interp.check | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/t8266-invalid-interp.check b/test/files/neg/t8266-invalid-interp.check new file mode 100644 index 0000000000..70dd4081b0 --- /dev/null +++ b/test/files/neg/t8266-invalid-interp.check @@ -0,0 +1,10 @@ +t8266-invalid-interp.scala:4: error: Trailing '\' escapes nothing. + f"a\", + ^ +t8266-invalid-interp.scala:5: error: invalid escape character at index 1 in "a\xc" + f"a\xc", + ^ +t8266-invalid-interp.scala:7: error: invalid escape character at index 1 in "a\vc" + f"a\vc" + ^ +three errors found |