Reviewers: arv, marja,
Message:
PTAL --- trivial fixup, I didn't realize the message wasn't included in the
other CL
Description:
Add param_after_rest error message after r26362
BUG=v8:2159
LOG=N
[email protected], [email protected]
Please review this at https://codereview.chromium.org/888713003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+2, -1 lines):
M src/messages.js
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"]
};
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.