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/run/t8266-octal-interp.check | |
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/run/t8266-octal-interp.check')
-rw-r--r-- | test/files/run/t8266-octal-interp.check | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/files/run/t8266-octal-interp.check b/test/files/run/t8266-octal-interp.check new file mode 100644 index 0000000000..6e9454119b --- /dev/null +++ b/test/files/run/t8266-octal-interp.check @@ -0,0 +1,30 @@ +t8266-octal-interp.scala:4: warning: Octal escape literals are deprecated, use \b instead. + f"a\10c", + ^ +t8266-octal-interp.scala:5: warning: Octal escape literals are deprecated, use \t instead. + f"a\11c", + ^ +t8266-octal-interp.scala:6: warning: Octal escape literals are deprecated, use \n instead. + f"a\12c", + ^ +t8266-octal-interp.scala:7: warning: Octal escape literals are deprecated, use \r instead. + f"a\15c", + ^ +t8266-octal-interp.scala:8: warning: Octal escape literals are deprecated, use \u0022 instead. + f"a\42c", + ^ +t8266-octal-interp.scala:9: warning: Octal escape literals are deprecated, use \\ instead. + f"a\134c", + ^ +t8266-octal-interp.scala:10: warning: Octal escape literals are deprecated, use \u0069 instead. + f"a\15151515c" + ^ +ac +a c +a +c +a +c +a"c +a\c +ai51515c |