diff options
author | Som Snytt <som.snytt@gmail.com> | 2014-02-11 13:53:32 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2014-02-11 13:53:32 -0800 |
commit | ff4cfd575a9b731adc60582de447fafb5303eb49 (patch) | |
tree | 5a01de0954e811fd7e012f3f902c74c540837b8d /test/files/neg/t8266-invalid-interp.scala | |
parent | d4f5abf9002fd617e871d1f20fdcf531b38b26e1 (diff) | |
download | scala-ff4cfd575a9b731adc60582de447fafb5303eb49.tar.gz scala-ff4cfd575a9b731adc60582de447fafb5303eb49.tar.bz2 scala-ff4cfd575a9b731adc60582de447fafb5303eb49.zip |
SI-8266 Deprecate octal escapes in f-interpolator
Also turns the f-interpolator into a migration
assistant by suggesting alternatives for the
standard escapes.
Diffstat (limited to 'test/files/neg/t8266-invalid-interp.scala')
-rw-r--r-- | test/files/neg/t8266-invalid-interp.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/t8266-invalid-interp.scala b/test/files/neg/t8266-invalid-interp.scala new file mode 100644 index 0000000000..4b26546880 --- /dev/null +++ b/test/files/neg/t8266-invalid-interp.scala @@ -0,0 +1,9 @@ + +trait X { + def f = Seq( + f"a\", + f"a\xc", + // following could suggest \u000b for vertical tab, similar for \a alert + f"a\vc" + ) +} |