Comment #2 on issue 3734 by [email protected]: Syntax error with
template literals
https://code.google.com/p/v8/issues/detail?id=3734#c2
The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/edf3dab4660ed6273e5d46bd2b0eae9f3210157d
commit edf3dab4660ed6273e5d46bd2b0eae9f3210157d
Author: arv <[email protected]>
Date: Thu Dec 04 14:50:09 2014
ES6 template literals: Fix issue with template after rbrace
If we hade }` the right brace was always treated as part of the
template literal. We should only treat the right brace as part of
the literal when we continue to parse the template literal after a
placeholder.
BUG=v8:3734
LOG=Y
Review URL: https://codereview.chromium.org/778813003
Cr-Commit-Position: refs/heads/master@{#25661}
[modify]
http://crrev.com/edf3dab4660ed6273e5d46bd2b0eae9f3210157d/src/preparser.h
[modify]
http://crrev.com/edf3dab4660ed6273e5d46bd2b0eae9f3210157d/src/scanner.cc
[modify]
http://crrev.com/edf3dab4660ed6273e5d46bd2b0eae9f3210157d/src/scanner.h
[modify]
http://crrev.com/edf3dab4660ed6273e5d46bd2b0eae9f3210157d/test/mjsunit/harmony/templates.js
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.