escargot/src/parser/esprima_cpp
Robert Fancsik 2113ddd673 Fix arrow function bugs related to lazy instantiation (#353)
Fixed a bug when an arrow function with block braces is inside an arrow function without braces handled incorrently during an outer function lazy instantiation.
The inner arrow function treated the most outer simple function as its parent instead of the outer arrow function due to the invalid use of config.parseSingleFunction.
Also the 0 parseFunctionIndex must be valid for arrow functions as well during the lazy instantiation.

This patch fixes #343.

Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
2019-08-08 09:53:39 +09:00
..
esprima.cpp Fix arrow function bugs related to lazy instantiation (#353) 2019-08-08 09:53:39 +09:00
esprima.h Update lexical environment stuffs (#327) 2019-07-26 13:16:44 +09:00