mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
merge
This commit is contained in:
commit
9ba0ecb507
@ -1994,14 +1994,6 @@ CheckDestructuring(JSContext *cx, BindData *data,
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
#if JS_HAS_DESTRUCTURING_SHORTHAND
|
||||
if (right->pn_extra & PNX_SHORTHAND) {
|
||||
js_ReportCompileErrorNumber(cx, TS(tc->parseContext), right,
|
||||
JSREPORT_ERROR, JSMSG_BAD_OBJECT_INIT);
|
||||
return JS_FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
fpvd.table.ops = NULL;
|
||||
lhs = left->pn_head;
|
||||
if (lhs && lhs->pn_type == TOK_DEFSHARP) {
|
||||
|
Loading…
Reference in New Issue
Block a user