Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: test/mjsunit/function-length-accessor.js

Issue 1007783002: Remove --harmony-scoping flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: CR feedback Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/mjsunit/es6/regress/regress-3741.js ('k') | test/mjsunit/harmony/block-conflicts.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Flags: --harmony-scoping --lazy 5 // Flags: --lazy
6 6
7 function foo(a, b, c, d) { 7 function foo(a, b, c, d) {
8 "use strict" 8 "use strict"
9 const x = 10; 9 const x = 10;
10 // long comment to trigger lazy compilation. 10 // long comment to trigger lazy compilation.
11 // long comment to trigger lazy compilation. 11 // long comment to trigger lazy compilation.
12 // long comment to trigger lazy compilation. 12 // long comment to trigger lazy compilation.
13 // long comment to trigger lazy compilation. 13 // long comment to trigger lazy compilation.
14 // long comment to trigger lazy compilation. 14 // long comment to trigger lazy compilation.
15 // long comment to trigger lazy compilation. 15 // long comment to trigger lazy compilation.
(...skipping 10 matching lines...) Expand all
26 // long comment to trigger lazy compilation. 26 // long comment to trigger lazy compilation.
27 // long comment to trigger lazy compilation. 27 // long comment to trigger lazy compilation.
28 // long comment to trigger lazy compilation. 28 // long comment to trigger lazy compilation.
29 // long comment to trigger lazy compilation. 29 // long comment to trigger lazy compilation.
30 // long comment to trigger lazy compilation. 30 // long comment to trigger lazy compilation.
31 // long comment to trigger lazy compilation. 31 // long comment to trigger lazy compilation.
32 x = 20; // This will trigger compile error with harmony scoping. 32 x = 20; // This will trigger compile error with harmony scoping.
33 } 33 }
34 34
35 assertThrows("foo.length()"); 35 assertThrows("foo.length()");
OLDNEW
« no previous file with comments | « test/mjsunit/es6/regress/regress-3741.js ('k') | test/mjsunit/harmony/block-conflicts.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698