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

Unified Diff: src/messages.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: src/messages.js
diff --git a/src/messages.js b/src/messages.js
index 71a132563aa1da74cd07a7a61ea69e89d0e7bcb2..3b0e872ec4accc25a40aa15c6b4ddf6aef9080f6 100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -182,6 +182,7 @@ var kMessages = {
strong_constructor_this: ["In strong mode, 'this' can only be used to initialize properties, and cannot be nested inside another statement or expression"],
strong_constructor_return_value: ["In strong mode, returning a value from a constructor is deprecated"],
strong_constructor_return_misplaced: ["In strong mode, returning from a constructor before its super constructor invocation or all assignments to 'this' is deprecated"],
+ strong_mode_too_few_arguments: ["In strong mode, calling a function with too few arguments is deprecated"],
rossberg 2015/05/05 14:26:19 Nit: strong_arity
arv (Not doing code reviews) 2015/05/05 16:46:29 Done.
sloppy_lexical: ["Block-scoped declarations (let, const, function, class) not yet supported outside strict mode"],
malformed_arrow_function_parameter_list: ["Malformed arrow function parameter list"],
cant_prevent_ext_external_array_elements: ["Cannot prevent extension of an object with external array elements"],

Powered by Google App Engine
This is Rietveld 408576698