Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index 0a9a01ebbc607ab6a76d5f8f1df3b94b9461fc16..3b61e1882db5bfa0a80dcd720c8b3670d584b817 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -180,7 +180,8 @@ var kMessages = { |
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: ["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."], |
- duplicate_proto: ["Duplicate __proto__ fields are not allowed in object literals"] |
+ duplicate_proto: ["Duplicate __proto__ fields are not allowed in object literals"], |
+ param_after_rest: ["Rest parameter must be last formal parameter"] |
}; |