Reviewers: Mads Ager, Lasse Reichstein,

Description:
Fix error message name.

in messages.js name strict_lhs_eval_assignment was used, whereas the code used
strict_lhs_assignment. Unifying on "strict_lhs_assignment".

BUG=
TEST=

Please review this at http://codereview.chromium.org/6386050/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/messages.js


Index: src/messages.js
diff --git a/src/messages.js b/src/messages.js
index a1342f0279c2e4597e26d31b56b9491fdf6e7cb9..e9a88ece74f78660f4d8d59ed2eee8a31682cf62 100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -222,7 +222,7 @@ function FormatMessage(message) {
strict_duplicate_property: ["Duplicate data property in object literal not allowed in strict mode"], accessor_data_property: ["Object literal may not have data and accessor property with the same name"], accessor_get_set: ["Object literal may not have multiple get/set accessors with the same name"], - strict_lhs_eval_assignment: ["Assignment to eval or arguments is not allowed in strict mode"], + strict_lhs_assignment: ["Assignment to eval or arguments is not allowed in strict mode"], strict_lhs_postfix: ["Postfix increment/decrement may not have eval or arguments operand in strict mode"], strict_lhs_prefix: ["Prefix increment/decrement may not have eval or arguments operand in strict mode"],
     };


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to