v8/test/message/strict-octal-use-strict-before.out
jwolfe 089e4fd32c Change error messages for octal escape sequences
When an octal escape sequence is in a string in strict mode:
- Octal literals are not allowed in strict mode.
+ Octal escape sequences are not allowed in strict mode.

When an octal escape sequence is in a template string:
- Octal literals are not allowed in template strings.
+ Octal escape sequences are not allowed in template strings.

BUG=v8:4973
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Review-Url: https://codereview.chromium.org/2551633002
Cr-Commit-Position: refs/heads/master@{#41560}
2016-12-07 17:26:42 +00:00

5 lines
183 B
Plaintext

*%(basename)s:32: SyntaxError: Octal escape sequences are not allowed in strict mode.
"use\040strict";
^^
SyntaxError: Octal escape sequences are not allowed in strict mode.