| Index: src/messages.js
|
| diff --git a/src/messages.js b/src/messages.js
|
| index 95110bb95e2c82b5f4802190f17de5968dc56826..b29d98f42c7d246e76ded128c40ace8d3fc89e08 100644
|
| --- a/src/messages.js
|
| +++ b/src/messages.js
|
| @@ -162,6 +162,7 @@ var kMessages = {
|
| strict_function: ["In strict mode code, functions can only be declared at top level or immediately within another function." ],
|
| strict_read_only_property: ["Cannot assign to read only property '", "%0", "' of ", "%1"],
|
| strict_cannot_assign: ["Cannot assign to read only '", "%0", "' in strict mode"],
|
| + restricted_function_properties: ["'caller' and 'arguments' are restricted function properties and cannot be accessed in this context."],
|
| strict_poison_pill: ["'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them"],
|
| strict_caller: ["Illegal access to a strict mode caller function."],
|
| strong_ellision: ["In strong mode, arrays with holes are deprecated, use maps instead"],
|
| @@ -180,7 +181,6 @@ var kMessages = {
|
| strong_constructor_return_misplaced: ["In strong mode, returning from a constructor before its super constructor invocation is deprecated"],
|
| sloppy_lexical: ["Block-scoped declarations (let, const, function, class) not yet supported outside strict mode"],
|
| malformed_arrow_function_parameter_list: ["Malformed arrow function parameter list"],
|
| - generator_poison_pill: ["'caller' and 'arguments' properties may not be accessed on generator functions."],
|
| cant_prevent_ext_external_array_elements: ["Cannot prevent extension of an object with external array elements"],
|
| redef_external_array_element: ["Cannot redefine a property of an object with external array elements"],
|
| const_assign: ["Assignment to constant variable."],
|
|
|