Merge branch 'master' into harmony-v3.1.3
This commit is contained in:
@@ -1322,6 +1322,9 @@ function parse($TEXT, options) {
|
||||
if (in_statement && !name)
|
||||
unexpected();
|
||||
|
||||
if (name && ctor !== AST_Accessor && !(name instanceof AST_SymbolDeclaration))
|
||||
unexpected(prev());
|
||||
|
||||
var args = parameters();
|
||||
var body = _function_body(true, is_generator || is_generator_property, is_async, name, args);
|
||||
return new ctor({
|
||||
|
||||
Reference in New Issue
Block a user