Chromium Code Reviews| Index: src/messages.js |
| diff --git a/src/messages.js b/src/messages.js |
| index 142e47bcc0be8b7de3e52fb998fea5597da18cb0..0e98774edc4bdb3c698ba36757de757cae019371 100644 |
| --- a/src/messages.js |
| +++ b/src/messages.js |
| @@ -182,6 +182,7 @@ var kMessages = { |
| prototype_parent_not_an_object: ["Class extends value does not have valid prototype property ", "%0"], |
| duplicate_constructor: ["A class may only have one constructor"], |
| sloppy_lexical: ["Block-scoped declarations (let, const, function, class) not yet supported outside strict mode"], |
| + super_constructor_call: ["'super(...)' constructor call is currently only supported if it is the first statement of a constructor and its arguments do not access 'this'"], |
|
rossberg
2014/11/27 19:04:40
Suggestion:
"A 'super' constructor call may only
Dmitry Lomov (no reviews)
2014/11/27 19:41:57
Done.
|
| }; |