Updated patch rebases to apply cleanly and fixes nits from Erik.
https://codereview.chromium.org/1097283003/diff/220001/src/parser.cc
File src/parser.cc (right):
https://codereview.chromium.org/1097283003/diff/220001/src/parser.cc#newcode745
src/parser.cc:745: pos + 4, Variable::THIS);
On 2015/05/05 14:59:10, arv wrote:
I still want you to change the order of these params.
Sorry I forgot about this! Done. Had to add Variable::NORMAL to a
bunch of callers though.
https://codereview.chromium.org/1097283003/diff/220001/test/mjsunit/harmony/arrow-functions-this.js
File test/mjsunit/harmony/arrow-functions-this.js (right):
https://codereview.chromium.org/1097283003/diff/220001/test/mjsunit/harmony/arrow-functions-this.js#newcode11
test/mjsunit/harmony/arrow-functions-this.js:11: var globalSloppyArrow
= ()=>this;
On 2015/05/05 14:59:10, arv wrote:
no aligning of =
whitespace around =>
var globalSloppyArrow = () => this;
Done.
https://codereview.chromium.org/1097283003/diff/220001/test/mjsunit/harmony/arrow-functions-this.js#newcode17
test/mjsunit/harmony/arrow-functions-this.js:17: var strictFunctionArrow
= function(){ "use strict";
On 2015/05/05 14:59:10, arv wrote:
indent blocks two spaces
whitespace between ) and {
var strictFunctionArrow = function() {
"use strict";
return (() => this)();
};
Done.
https://codereview.chromium.org/1097283003/
--
--
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.