Follow up: A opening bracket { was added; Added "function()->explicitName()" instead of "function()->name()"

Issue #78
This commit is contained in:
janekptacijarabaci 2018-03-19 18:11:08 +01:00 • committed by Roy Tam
commit 1fd083e81c
2 changed files with 2 additions and 2 deletions

View file

@ -5158,7 +5158,7 @@ BytecodeEmitter::emitSingleDeclaration(ParseNode* declList, ParseNode* decl,
if (!initializer && declList->isKind(PNK_VAR))
return true;
auto emitRhs = [initializer, declList, decl](BytecodeEmitter* bce, const NameLocation&, bool)
auto emitRhs = [initializer, declList, decl](BytecodeEmitter* bce, const NameLocation&, bool) {
if (!initializer) {
// Lexical declarations are initialized to undefined without an
// initializer.