[v8-dev] Re: [es6] Make assignment to new.target an early ReferenceError (issue 1290013002 by ad...@chromium.org)

2015-08-13 Thread commit-...@chromium.org via codereview.chromium.org
Patchset 3 (id:??) landed as https://crrev.com/ef52836cd8c1340cf0c5054560fc936d6de1d25e Cr-Commit-Position: refs/heads/master@{#30166} https://codereview.chromium.org/1290013002/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this messag

[v8-dev] Re: [es6] Make assignment to new.target an early ReferenceError (issue 1290013002 by ad...@chromium.org)

2015-08-13 Thread commit-...@chromium.org via codereview.chromium.org
Committed patchset #3 (id:40001) https://codereview.chromium.org/1290013002/ -- -- v8-dev mailing list v8-dev@googlegroups.com 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

[v8-dev] Re: [es6] Make assignment to new.target an early ReferenceError (issue 1290013002 by ad...@chromium.org)

2015-08-13 Thread adamk
https://codereview.chromium.org/1290013002/diff/20001/test/mjsunit/harmony/new-target.js File test/mjsunit/harmony/new-target.js (right): https://codereview.chromium.org/1290013002/diff/20001/test/mjsunit/harmony/new-target.js#newcode390 test/mjsunit/harmony/new-target.js:390: assertThrows(funct

[v8-dev] Re: [es6] Make assignment to new.target an early ReferenceError (issue 1290013002 by ad...@chromium.org)

2015-08-13 Thread commit-...@chromium.org via codereview.chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1290013002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1290013002/40001 https://codereview.chromium.org/1290013002/ -- -- v8-dev mailing list v8-dev@googlegroups.com ht

[v8-dev] Re: [es6] Make assignment to new.target an early ReferenceError (issue 1290013002 by ad...@chromium.org)

2015-08-13 Thread rossberg
lgtm https://codereview.chromium.org/1290013002/diff/20001/test/mjsunit/harmony/new-target.js File test/mjsunit/harmony/new-target.js (right): https://codereview.chromium.org/1290013002/diff/20001/test/mjsunit/harmony/new-target.js#newcode390 test/mjsunit/harmony/new-target.js:390: assertThro

[v8-dev] Re: [es6] Make assignment to new.target an early ReferenceError (issue 1290013002 by ad...@chromium.org)

2015-08-12 Thread caitpotter88
On 2015/08/13 00:45:56, adamk wrote: On 2015/08/13 00:35:33, caitp wrote: > On 2015/08/13 00:29:51, adamk wrote: > > On 2015/08/12 23:58:04, adamk wrote: > > > On 2015/08/12 23:51:42, caitp wrote: > > > > On 2015/08/12 23:39:29, adamk wrote: > > > > > Note that the preparser already (accidentally

[v8-dev] Re: [es6] Make assignment to new.target an early ReferenceError (issue 1290013002 by ad...@chromium.org)

2015-08-12 Thread adamk
On 2015/08/13 00:35:33, caitp wrote: On 2015/08/13 00:29:51, adamk wrote: > On 2015/08/12 23:58:04, adamk wrote: > > On 2015/08/12 23:51:42, caitp wrote: > > > On 2015/08/12 23:39:29, adamk wrote: > > > > Note that the preparser already (accidentally) seems to throw an error > here, > > > > be

[v8-dev] Re: [es6] Make assignment to new.target an early ReferenceError (issue 1290013002 by ad...@chromium.org)

2015-08-12 Thread caitpotter88
On 2015/08/13 00:29:51, adamk wrote: On 2015/08/12 23:58:04, adamk wrote: > On 2015/08/12 23:51:42, caitp wrote: > > On 2015/08/12 23:39:29, adamk wrote: > > > Note that the preparser already (accidentally) seems to throw an error here, > > > because its implementation of IsValidReferenceExpre

[v8-dev] Re: [es6] Make assignment to new.target an early ReferenceError (issue 1290013002 by ad...@chromium.org)

2015-08-12 Thread adamk
On 2015/08/12 23:58:04, adamk wrote: On 2015/08/12 23:51:42, caitp wrote: > On 2015/08/12 23:39:29, adamk wrote: > > Note that the preparser already (accidentally) seems to throw an error here, > > because its implementation of IsValidReferenceExpression() is: > > > > bool IsValidReferenceExp

[v8-dev] Re: [es6] Make assignment to new.target an early ReferenceError (issue 1290013002 by ad...@chromium.org)

2015-08-12 Thread adamk
On 2015/08/12 23:51:42, caitp wrote: On 2015/08/12 23:39:29, adamk wrote: > Note that the preparser already (accidentally) seems to throw an error here, > because its implementation of IsValidReferenceExpression() is: > > bool IsValidReferenceExpression() const { > return IsIdentifier()

[v8-dev] Re: [es6] Make assignment to new.target an early ReferenceError (issue 1290013002 by ad...@chromium.org)

2015-08-12 Thread caitpotter88
On 2015/08/12 23:39:29, adamk wrote: Note that the preparser already (accidentally) seems to throw an error here, because its implementation of IsValidReferenceExpression() is: bool IsValidReferenceExpression() const { return IsIdentifier() || IsProperty(); } and NewTargetExpre

[v8-dev] Re: [es6] Make assignment to new.target an early ReferenceError (issue 1290013002 by ad...@chromium.org)

2015-08-12 Thread adamk
Note that the preparser already (accidentally) seems to throw an error here, because its implementation of IsValidReferenceExpression() is: bool IsValidReferenceExpression() const { return IsIdentifier() || IsProperty(); } and NewTargetExpression is a PreParserExpression::Default(). htt