https://codereview.chromium.org/166943002/diff/1/src/parser.cc
File src/parser.cc (left):
https://codereview.chromium.org/166943002/diff/1/src/parser.cc#oldcode3477
src/parser.cc:3477: result = factory()->NewCallNew(result, args, pos);
The problem is:
In the original code, we can have "new foo()" and this loop will
continue parsing the . and [ parts, so, "new foo().bar" gets parsed
properly.
In the new code, we no longer loop the . and [ parts once we have found
() and constructed the NewExpression.
https://codereview.chromium.org/166943002/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.