https://codereview.chromium.org/640193002/diff/40001/test/intl/general/smp-identifier.js
File test/intl/general/smp-identifier.js (right):
https://codereview.chromium.org/640193002/diff/40001/test/intl/general/smp-identifier.js#newcode9
test/intl/general/smp-identifier.js:9: String.fromCharCode(c & 0x3FF |
0xDC00);
On 2014/10/09 14:45:42, mathias wrote:
Since `--harmony-strings` is set anyway, why not use
`String.fromCodePoint`
instead of `toSurrogatePair`?
Apparently flags are not parsed in intl/ tests. I'm kinda too lazy to
introduce it here when I found out, but forgot to remove that line. I
did now.
https://codereview.chromium.org/640193002/diff/40001/test/mjsunit/parse-surrogates.js
File test/mjsunit/parse-surrogates.js (right):
https://codereview.chromium.org/640193002/diff/40001/test/mjsunit/parse-surrogates.js#newcode7
test/mjsunit/parse-surrogates.js:7: assertThrows("'\\u000\uD801\uABCD'",
SyntaxError);
On 2014/10/09 14:45:42, mathias wrote:
AFAICT, lone surrogates in strings must still be supported in ES6.
But they are still not valid identifiers, right?
https://codereview.chromium.org/640193002/
--
--
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.