Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index 142e47bcc0be8b7de3e52fb998fea5597da18cb0..78fac3237704e71b3925bd9309fba8a9f8f32327 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -182,6 +182,8 @@ 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'"], |
+ super_constructor_call: ["A 'super' constructor call may only appear as the first statement of a function, and its arguments may not access 'this'. Other forms are not yet supported."] |
arv (Not doing code reviews)
2014/12/01 15:14:07
I think you fixed the duplicate property in a foll
|
}; |