DescriptionPreparse lazy function parameters
Parameters of a lazily parsed function used to be parsed eagerly,
and parameter handling was split between
Parser::ParseFunctionLiteral and ParseEagerFunctionBody, leading
into inconsistencies.
After this CL, we preparse (lazy parse) the parameters of lazily
parsed functions.
(For arrow functions, we cannot do that ofc.)
This is needed for later features (PreParser with scope analysis).
BUG=
Patch Set 1 #Patch Set 2 : new version - now compiles #Patch Set 3 : fixes, transmit arity #Patch Set 4 : fixes #Patch Set 5 : rebased #Patch Set 6 : rebased #Patch Set 7 : fixes #Patch Set 8 : cleanup #Patch Set 9 : fixes and cleanup #Patch Set 10 : fixes #Patch Set 11 : rebased #Patch Set 12 : . #Patch Set 13 : fixing but it doesn't work yet #Patch Set 14 : fixing #Patch Set 15 : moar #Patch Set 16 : rebased #
Total comments: 7
Patch Set 17 : rebased #
Messages
Total messages: 14 (11 generated)
|