The main reason was about backtracking token streams in the parser being the 
only viable strategy (this came up briefly in the last meeting).

It’s covered in the notes at 
https://github.com/tc39/tc39-notes/blob/master/es7/2015-07/july-29.md#611-the-scope-of-use-strict-with-respect-to-destructuring-in-parameter-lists
 
<https://github.com/tc39/tc39-notes/blob/master/es7/2015-07/july-29.md#611-the-scope-of-use-strict-with-respect-to-destructuring-in-parameter-lists>

IIRC, some or all of this has already been implemented in V8 by conradw, but I 
have not tested yet.

> On Aug 28, 2015, at 7:28 AM, [email protected] wrote:
> 
> On 2015/08/28 11:18:58, caitp wrote:
>> The cl description refers to something which is no longer legal js (language
>> mode directive in function with non-simple parameter). Is the message still
>> correct, or does it need an update?
> 
> Thanks for the note!  I didn't realize that this is now invalid JS:
> 
>  function f(x=10) { 'use strict'; }
> 
> I actually don't see why the language semantics changed... but OK.  I'll 
> remove
> these tests :)
> 
> https://codereview.chromium.org/1318253002/
> 
> -- 
> -- 
> 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.

-- 
-- 
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.

Reply via email to