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

Unified Diff: src/messages.js

Issue 1002253002: [strong] Check super constructor calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Typo 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/parser.cc » ('j') | test/mjsunit/strong/classes.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.js
diff --git a/src/messages.js b/src/messages.js
index f0e71d9578db50cdd27eb56e3ab9db3b4d3653aa..4132e2b7f27a66d6fa119304e61514aef4d614f6 100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -170,6 +170,9 @@ var kMessages = {
strong_for_in: ["Please don't use 'for'-'in' loops in strong mode, use 'for'-'of' instead"],
strong_empty: ["Please don't use empty sub-statements in strong mode, make them explicit with '{}' instead"],
strong_use_before_declaration: ["Please declare variable '", "%0", "' before use in strong mode"],
+ strong_super_call_missing: ["Please always invoke the super constructor in subclasses in strong mode"],
Dmitry Lomov (no reviews) 2015/03/13 16:41:04 Do we need to plead here?
+ strong_super_call_duplicate: ["Please don't invoke the super constructor multiple times in strong mode"],
+ strong_super_call_nested: ["Please don't invoke the super constructor nested inside another statement or expression in strong mode"],
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"],
generator_poison_pill: ["'caller' and 'arguments' properties may not be accessed on generator functions."],
« no previous file with comments | « no previous file | src/parser.cc » ('j') | test/mjsunit/strong/classes.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698