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

Unified Diff: test/mjsunit/strong/declaration-after-use.js

Issue 1115263004: [strong] Check arity of functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cleanup Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: test/mjsunit/strong/declaration-after-use.js
diff --git a/test/mjsunit/strong/declaration-after-use.js b/test/mjsunit/strong/declaration-after-use.js
index 020067c1e5aa3c56d8da5e58788235a868b987ac..0bd8fa4ae71db6031cae07ef82c4c162b1a635c3 100644
--- a/test/mjsunit/strong/declaration-after-use.js
+++ b/test/mjsunit/strong/declaration-after-use.js
@@ -211,13 +211,13 @@ function assertThrowsHelper(code) {
func2;
function func4(p, ...rest) { p; rest; this; func2; }
- func4();
+ func4(1, 2); // FIXME
rossberg 2015/05/05 14:26:20 Why FIXME?
arv (Not doing code reviews) 2015/05/05 16:46:29 Let me make that more explicit. The arity checkin
let func5 = (p1, p2) => { p1; p2; };
- func5();
+ func5(1, 2);
let func5b = p1 => p1;
- func5b();
+ func5b(1);
function func6() {
var1, var2a, var2b, var2c;

Powered by Google App Engine
This is Rietveld 408576698